mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-09 18:36:35 +00:00
Fix error handling/flickering in markdown card (#24280)
This commit is contained in:
parent
0256da511d
commit
1363884773
@ -135,7 +135,7 @@ export class HuiMarkdownCard extends LitElement implements LovelaceCard {
|
||||
this._tryConnect();
|
||||
}
|
||||
const shouldBeHidden =
|
||||
this._templateResult &&
|
||||
!!this._templateResult &&
|
||||
this._config.show_empty === false &&
|
||||
this._templateResult.result.length === 0;
|
||||
if (shouldBeHidden !== this.hidden) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user