fix: closes #7295 - Fixed workspaces temporarily inheriting essential tabs from the source workspace a container tab was switched from, r=workspaces

This commit is contained in:
mr. m
2025-04-16 12:32:49 +02:00
parent 46e2fdca00
commit 0b467cc149

View File

@@ -2038,7 +2038,7 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
if (tab.hasAttribute('change-workspace') && this.moveTabToWorkspace(tab, workspaceID)) {
this._lastSelectedWorkspaceTabs[workspaceID] = tab;
tab.removeAttribute('change-workspace');
await this.changeWorkspace({ uuid: workspaceID }, { onInit: true });
await this.changeWorkspace({ uuid: workspaceID, containerTabId: tab.getAttribute('usercontextid') }, { onInit: true });
}
return;
}