1
0
Fork 1
mirror of https://github.com/zen-browser/desktop.git synced 2025-07-10 18:15:30 +02:00

Fixed duplicating a tab showing the default workspace container indicator (closes https://github.com/zen-browser/desktop/issues/4132)

This commit is contained in:
mr. M 2025-01-02 20:01:09 +01:00
parent fc12649028
commit a7247f16f7
No known key found for this signature in database
GPG key ID: CBD57A2AEDBDA1FB
2 changed files with 12 additions and 1 deletions

View file

@ -1331,7 +1331,6 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
for (const tab of gBrowser.tabs) {
const tabWorkspaceId = tab.getAttribute('zen-workspace-id');
const isEssential = tab.getAttribute("zen-essential") === "true";
const tabContextId = tab.getAttribute("usercontextid");
// Always hide last selected tabs from other workspaces
if (lastSelectedTab === tab && tabWorkspaceId !== workspaceUuid && !isEssential) {