fix (empty tab): recent notes not showing when creating a empty tab (#7523)

This commit is contained in:
Elian Doran
2025-10-27 18:43:31 +02:00
committed by GitHub

View File

@@ -155,6 +155,11 @@ export default class PopupEditorDialog extends Container<BasicWidget> {
return Promise.resolve();
}
// Avoid not showing recent notes when creating a new empty tab.
if ("noteContext" in data && data.noteContext.ntxId !== "_popup-editor") {
return Promise.resolve();
}
return super.handleEventInChildren(name, data);
}