fixed tab context menu for custom tab colors

This commit is contained in:
Eugene Pankov
2020-08-15 20:46:40 +02:00
parent 436318b534
commit 60ab6ece62

View File

@@ -120,7 +120,7 @@ export class CommonOptionsContextMenu extends TabContextMenuItemProvider {
},
{
label: 'Color',
sublabel: COLORS.find(x => x.value === tab.color)!.name,
sublabel: COLORS.find(x => x.value === tab.color)?.name,
submenu: COLORS.map(color => ({
label: color.name,
type: 'radio',