mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Display choose option alias if configured (#17429)
This commit is contained in:
parent
76388114aa
commit
3c62f5597a
@ -76,6 +76,9 @@ export class HaChooseAction extends LitElement implements ActionElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private _getDescription(option, idx: number) {
|
private _getDescription(option, idx: number) {
|
||||||
|
if (option.alias) {
|
||||||
|
return option.alias;
|
||||||
|
}
|
||||||
if (this.isExpanded(idx)) {
|
if (this.isExpanded(idx)) {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user