This commit is contained in:
Eugene Pankov
2022-01-16 17:27:54 +01:00
parent 1796ce4f1c
commit d12a48f3fc

View File

@@ -123,7 +123,7 @@ export class CommonOptionsContextMenu extends TabContextMenuItemProvider {
label: this.translate.instant('Color'), label: this.translate.instant('Color'),
sublabel: this.translate.instant(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 => ({ submenu: TAB_COLORS.map(color => ({
label: this.translate.instant(color.name), label: this.translate.instant(color.name) ?? color.name,
type: 'radio', type: 'radio',
checked: tab.color === color.value, checked: tab.color === color.value,
click: () => { click: () => {