mirror of
https://github.com/zen-browser/desktop.git
synced 2026-03-29 20:01:52 +00:00
no-bug: update migration data access to handle undefined safely (gh-12956)
This commit is contained in:
@@ -777,7 +777,7 @@ class nsZenWorkspaces {
|
||||
if (
|
||||
!this.privateWindowOrDisabled &&
|
||||
spacesFromStore.length === 0 &&
|
||||
lazy.ZenSessionStore._migrationData
|
||||
lazy.ZenSessionStore._migrationData?.spaces
|
||||
) {
|
||||
spacesFromStore.push(...lazy.ZenSessionStore._migrationData.spaces);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user