Fixed display when choosing containers for each workspace

This commit is contained in:
mauro-balades 2024-09-13 23:01:22 +02:00
parent 5a9fb8d7be
commit cc4601f0e1

View file

@ -693,10 +693,7 @@ var ZenWorkspaces = {
// Tab browser utilities
createContainerTabMenu(event) {
let window = event.target.ownerGlobal;
const workspace = this.getActiveWorkspaceFromCache();
if (!workspace) {
return;
}
const workspace = this._workspaceCache.workspaces.find((workspace) => this._contextMenuId === workspace.uuid);
let containerTabId = workspace.containerTabId;
return window.createUserContextMenu(event, {
isContextMenu: true,