mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 15:55:52 +01:00
fixes & tweaks
This commit is contained in:
@@ -53,6 +53,10 @@ class Sidebar {
|
||||
return;
|
||||
}
|
||||
|
||||
for (const widget of this.widgets) {
|
||||
widget.cleanup();
|
||||
}
|
||||
|
||||
this.widgets = [];
|
||||
this.$widgetContainer.empty();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user