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