mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Condition testing display fix (#21606)
This commit is contained in:
parent
7d218c89ae
commit
b23aacef84
@ -235,9 +235,11 @@ export class HaCardConditionEditor extends LitElement {
|
|||||||
? this.hass.localize(
|
? this.hass.localize(
|
||||||
"ui.panel.lovelace.editor.condition-editor.testing_pass"
|
"ui.panel.lovelace.editor.condition-editor.testing_pass"
|
||||||
)
|
)
|
||||||
: this.hass.localize(
|
: this._testingResult === false
|
||||||
"ui.panel.lovelace.editor.condition-editor.testing_error"
|
? this.hass.localize(
|
||||||
)
|
"ui.panel.lovelace.editor.condition-editor.testing_error"
|
||||||
|
)
|
||||||
|
: nothing
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
</ha-card>
|
</ha-card>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user