Compare commits

...

1 Commits

View File

@@ -117,6 +117,10 @@
return activeGroups;
}
get childActiveGroups() {
return Array.from(this.querySelectorAll('zen-folder[has-active]'));
}
rename() {
if (!document.documentElement.hasAttribute('zen-sidebar-expanded')) {
return;
@@ -240,9 +244,10 @@
}
async #unloadAllActiveTabs(event, noClose = false) {
for (const tab of this.tabs) {
await gZenPinnedTabManager._onCloseTabShortcut(event, tab, { noClose });
}
await gZenPinnedTabManager._onCloseTabShortcut(event, this.tabs, {
noClose,
folderToUnload: this,
});
this.activeTabs = [];
}