fix: Initialize a default space if none exist, b=closes #11720, c=workspaces
This commit is contained in:
@@ -284,7 +284,7 @@ class nsZenWorkspaces {
|
||||
});
|
||||
};
|
||||
this._pinnedTabsResizeObserver = new ResizeObserver(onResize);
|
||||
if (this.privateWindowOrDisabled) {
|
||||
if (this.privateWindowOrDisabled || this._workspaceCache.length === 0) {
|
||||
await this.restoreWorkspacesFromSessionStore({});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user