mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 19:36:12 +01:00
when closing / clearing last tab, close all splits
This commit is contained in:
@@ -216,7 +216,7 @@ export default class NoteDetailWidget extends NoteContextAwareWidget {
|
||||
}
|
||||
}
|
||||
|
||||
async beforeTabRemoveEvent({ntxIds}) {
|
||||
async beforeNoteContextRemoveEvent({ntxIds}) {
|
||||
if (this.isNoteContext(ntxIds)) {
|
||||
await this.spacedUpdate.updateNowIfNecessary();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user