mirror of
https://github.com/Eugeny/tabby.git
synced 2025-01-24 14:14:18 +08:00
Update tabContextMenu.ts
Translate the selected Color
This commit is contained in:
parent
d404067e77
commit
1796ce4f1c
@ -121,7 +121,7 @@ export class CommonOptionsContextMenu extends TabContextMenuItemProvider {
|
||||
},
|
||||
{
|
||||
label: this.translate.instant('Color'),
|
||||
sublabel: TAB_COLORS.find(x => x.value === tab.color)?.name,
|
||||
sublabel: this.translate.instant(TAB_COLORS.find(x => x.value === tab.color)?.name),
|
||||
submenu: TAB_COLORS.map(color => ({
|
||||
label: this.translate.instant(color.name),
|
||||
type: 'radio',
|
||||
|
Loading…
Reference in New Issue
Block a user