1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-09-21 18:07:54 +03:00

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
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

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',