mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 22:05:44 +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