mirror of
https://github.com/zen-browser/components.git
synced 2025-07-08 13:59:59 +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-icon').textContent = this.getWorkspaceIcon(workspace);
|
||||||
childs.querySelector('.zen-workspace-name').textContent = workspace.name;
|
childs.querySelector('.zen-workspace-name').textContent = workspace.name;
|
||||||
if (containerGroup) {
|
if (containerGroup) {
|
||||||
childs.querySelector('.zen-workspace-container').textContent = ContextualIdentityService.formatContextLabel(
|
childs.querySelector('.zen-workspace-container').textContent = ContextualIdentityService.getUserContextLabel(
|
||||||
containerGroup.l10nId
|
containerGroup.userContextId
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue