From b9c35455ad1a299cdb9202dba15c8e1dc3780191 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauro=20Balad=C3=A9s?= Date: Sun, 15 Sep 2024 20:00:14 -0700 Subject: [PATCH] Refactor ZenWorkspaces to use getUserContextLabel instead of formatContextLabel --- src/ZenWorkspaces.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ZenWorkspaces.mjs b/src/ZenWorkspaces.mjs index fa877b3..303933c 100644 --- a/src/ZenWorkspaces.mjs +++ b/src/ZenWorkspaces.mjs @@ -269,8 +269,8 @@ var ZenWorkspaces = { childs.querySelector('.zen-workspace-icon').textContent = this.getWorkspaceIcon(workspace); childs.querySelector('.zen-workspace-name').textContent = workspace.name; if (containerGroup) { - childs.querySelector('.zen-workspace-container').textContent = ContextualIdentityService.formatContextLabel( - containerGroup.l10nId + childs.querySelector('.zen-workspace-container').textContent = ContextualIdentityService.getUserContextLabel( + containerGroup.userContextId ); }