mirror of
https://github.com/zen-browser/desktop.git
synced 2026-03-30 12:21:55 +00:00
fix: Fixed clicking on the 'add' button not closing the panel, b=no-bug, c=common, workspaces
This commit is contained in:
@@ -2413,7 +2413,9 @@ class nsZenWorkspaces {
|
||||
containerTabId = parseInt(gBrowser.selectedTab.getAttribute("usercontextid")) || 0;
|
||||
let label = ContextualIdentityService.getUserContextLabel(containerTabId) || "Default";
|
||||
name = this.isPrivateWindow ? "Incognito" : label;
|
||||
icon = gZenEmojiPicker.getSVGURL("eye.svg");
|
||||
if (this.isPrivateWindow) {
|
||||
icon = gZenEmojiPicker.getSVGURL("eye.svg");
|
||||
}
|
||||
}
|
||||
let workspace = {
|
||||
uuid: gZenUIManager.generateUuidv4(),
|
||||
|
||||
Reference in New Issue
Block a user