We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8e9cad commit 7dd517dCopy full SHA for 7dd517d
apps/client/src/widgets/dialogs/popup_editor.ts
@@ -150,6 +150,11 @@ export default class PopupEditorDialog extends Container<BasicWidget> {
150
}
151
152
handleEventInChildren<T extends EventNames>(name: T, data: EventData<T>): Promise<unknown[] | unknown> | null {
153
+ // Avoid not showing recent notes when creating a new empty tab.
154
+ if (name === 'activeContextChanged' && "noteContext" in data && data.noteContext.isEmpty()) {
155
+ return Promise.resolve();
156
+ }
157
+
158
// Avoid events related to the current tab interfere with our popup.
159
if (["noteSwitched", "noteSwitchedAndActivated", "exportAsPdf", "printActiveNote"].includes(name)) {
160
return Promise.resolve();
0 commit comments