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
commit 4d5267e18b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -155,6 +155,11 @@ export default class PopupEditorDialog extends Container<BasicWidget> {
return Promise.resolve(); 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); return super.handleEventInChildren(name, data);
} }