mirror of
https://github.com/zen-browser/desktop.git
synced 2026-04-28 02:04:18 +00:00
feat: Initialize closed windows if no normal restorable windows have been found, b=no-bug, c=workspaces
This commit is contained in:
@@ -823,7 +823,6 @@ class nsZenWorkspaces {
|
||||
if (!this.currentWindowIsSyncing) {
|
||||
this._workspaceCache = this._tempWorkspace ? [this._tempWorkspace] : [];
|
||||
this.#activeWorkspace = this._tempWorkspace?.uuid;
|
||||
return this._workspaceCache;
|
||||
}
|
||||
return [...this._workspaceCache];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user