Refactor ZenCompactMode to add event listeners and flashSidebar enhancements

This commit is contained in:
mauro-balades 2024-09-21 16:58:20 +02:00
parent 80a8904bbc
commit e14fbd8e5c
3 changed files with 22 additions and 7 deletions

View file

@ -515,6 +515,8 @@ var ZenWorkspaces = {
icon?.removeAttribute('selected');
await this.createAndSaveWorkspace(workspaceName, false, icon?.label);
document.getElementById('PanelUI-zen-workspaces').hidePopup(true);
await this._updateWorkspacesButton();
await this._propagateWorkspaceData();
},
async saveWorkspaceFromEdit() {