mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-21 11:59:53 +00:00
Merge pull request #5488 from boonkerz/patch-1
This commit is contained in:
commit
c025c44258
@ -121,9 +121,9 @@ export class CommonOptionsContextMenu extends TabContextMenuItemProvider {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: this.translate.instant('Color'),
|
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 => ({
|
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: () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user