when closing / clearing last tab, close all splits

This commit is contained in:
zadam
2022-06-02 22:28:25 +02:00
parent 0a4f419e5e
commit 15a9ff4450
3 changed files with 35 additions and 11 deletions

View File

@@ -216,7 +216,7 @@ export default class NoteDetailWidget extends NoteContextAwareWidget {
}
}
async beforeTabRemoveEvent({ntxIds}) {
async beforeNoteContextRemoveEvent({ntxIds}) {
if (this.isNoteContext(ntxIds)) {
await this.spacedUpdate.updateNowIfNecessary();
}