mirror of
https://github.com/zen-browser/desktop.git
synced 2026-01-28 23:56:11 +00:00
fix: Fixed handling split data that may be undefined, b=no-bug, c=split-view
This commit is contained in:
@@ -2131,7 +2131,9 @@ class nsZenViewSplitter extends nsZenDOMOperatedFeature {
|
||||
|
||||
const layout = deserializeNode(groupData.layoutTree);
|
||||
const splitData = this.splitTabs(group.tabs, groupData.gridType, -1);
|
||||
splitData.layoutTree = layout;
|
||||
if (splitData) {
|
||||
splitData.layoutTree = layout;
|
||||
}
|
||||
}
|
||||
|
||||
delete this._sessionRestoring;
|
||||
|
||||
Reference in New Issue
Block a user