mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 16:26:43 +00:00
Use checkmark only in chosen choose (#8824)
This commit is contained in:
parent
4511c8f30c
commit
4843ee80a7
@ -19,6 +19,7 @@ import {
|
|||||||
mdiArrowUp,
|
mdiArrowUp,
|
||||||
mdiAsterisk,
|
mdiAsterisk,
|
||||||
mdiCallSplit,
|
mdiCallSplit,
|
||||||
|
mdiCheckboxBlankOutline,
|
||||||
mdiCheckBoxOutline,
|
mdiCheckBoxOutline,
|
||||||
mdiChevronDown,
|
mdiChevronDown,
|
||||||
mdiChevronRight,
|
mdiChevronRight,
|
||||||
@ -107,7 +108,7 @@ class HatScriptGraph extends LitElement {
|
|||||||
})}
|
})}
|
||||||
.track_start=${[track_path]}
|
.track_start=${[track_path]}
|
||||||
.track_end=${[track_path]}
|
.track_end=${[track_path]}
|
||||||
tabindex=${trace === undefined ? "-1" : "0"}
|
tabindex=${trace ? "-1" : "0"}
|
||||||
short
|
short
|
||||||
>
|
>
|
||||||
<hat-graph-node
|
<hat-graph-node
|
||||||
@ -175,7 +176,9 @@ class HatScriptGraph extends LitElement {
|
|||||||
return html`
|
return html`
|
||||||
<hat-graph>
|
<hat-graph>
|
||||||
<hat-graph-node
|
<hat-graph-node
|
||||||
.iconPath=${mdiCheckBoxOutline}
|
.iconPath=${!trace || track_this
|
||||||
|
? mdiCheckBoxOutline
|
||||||
|
: mdiCheckboxBlankOutline}
|
||||||
@focus=${this.selectNode(config, branch_path)}
|
@focus=${this.selectNode(config, branch_path)}
|
||||||
class=${classMap({
|
class=${classMap({
|
||||||
active: this.selected === branch_path,
|
active: this.selected === branch_path,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user