Merge pull request #5488 from boonkerz/patch-1

This commit is contained in:
Eugeny 2022-01-16 17:28:49 +01:00 committed by GitHub
commit c025c44258
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,9 +121,9 @@ 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),
label: this.translate.instant(color.name) ?? color.name,
type: 'radio',
checked: tab.color === color.value,
click: () => {