mirror of
https://github.com/zen-browser/components.git
synced 2025-07-07 21:39:58 +02:00
Refactor ZenWorkspaces to use getUserContextLabel instead of formatContextLabel
This commit is contained in:
parent
329b197bda
commit
b9c35455ad
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue