Refactor ZenWorkspaces to use getUserContextLabel instead of formatContextLabel

This commit is contained in:
Mauro Baladés 2024-09-15 20:00:14 -07:00
parent 329b197bda
commit b9c35455ad

View file

@ -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
);
}