feat: Fixed folders on new windows not expanding at startup, b=no-bug, c=common, folders, tabs, workspaces

This commit is contained in:
mr. m
2025-12-24 17:34:29 +01:00
parent b3ea7f0e8d
commit 4c2cb60412
9 changed files with 124 additions and 110 deletions

View File

@@ -1248,7 +1248,7 @@ class nsZenWorkspaces {
if (this.privateWindowOrDisabled) {
return;
}
const workspacesData = this.getWorkspaces();
const workspacesData = this._workspaceCache;
const index = workspacesData.findIndex((ws) => ws.uuid === workspaceData.uuid);
if (index !== -1) {
workspacesData[index] = workspaceData;