mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
properly cleanup sidebar content after closing tab
This commit is contained in:
@@ -438,6 +438,10 @@ class TabContext {
|
||||
await this.saveNoteIfChanged();
|
||||
this.$tabContent.remove();
|
||||
}
|
||||
|
||||
if (this.sidebar) {
|
||||
this.sidebar.remove();
|
||||
}
|
||||
}
|
||||
|
||||
cleanup() {
|
||||
|
||||
Reference in New Issue
Block a user