mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
fix tabindex for glance card (#17656)
This commit is contained in:
parent
92358b4859
commit
98d1a55d35
@ -300,7 +300,9 @@ export class HuiGlanceCard extends LitElement implements LovelaceCard {
|
|||||||
hasDoubleClick: hasAction(entityConf.double_tap_action),
|
hasDoubleClick: hasAction(entityConf.double_tap_action),
|
||||||
})}
|
})}
|
||||||
tabindex=${ifDefined(
|
tabindex=${ifDefined(
|
||||||
hasAction(entityConf.tap_action) ? "0" : undefined
|
!entityConf.tap_action || hasAction(entityConf.tap_action)
|
||||||
|
? "0"
|
||||||
|
: undefined
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
${this._config!.show_name
|
${this._config!.show_name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user