Change menu subitem 'disabled' => 'enabled'

This commit is contained in:
Dermot Duffy
2022-05-08 16:32:54 -07:00
parent ac7572b53d
commit f917dbee75
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ export class FrigateCardSubmenu extends LitElement {
?twoline=${!!item.subtitle}
?selected=${item.selected}
?activated=${item.selected}
?disabled=${!!item.disabled}
?disabled=${item.enabled === false}
aria-label="${stateParameters.title || ''}"
@action=${(ev) => {
// Attach the action config so ascendants have access to it.