fix: Fixed deleting a workspace and restarting, b=no-bug, c=glance, split-view, workspaces

This commit is contained in:
Mr. M
2025-08-02 20:50:48 +02:00
parent 75a04bb354
commit 3ba805802a
3 changed files with 7 additions and 3 deletions

View File

@@ -494,7 +494,7 @@ class nsZenViewSplitter extends nsZenDOMOperatedFeature {
this.getSplitters(node)?.forEach((s) => s.remove());
this._splitNodeToSplitters.delete(node);
if (!recursive) return;
if (node.children) node.children.forEach((c) => this._removeNodeSplitters(c));
if (node && node.children) node.children.forEach((c) => this._removeNodeSplitters(c));
}
get rearangeActionTarget() {