From af5f394d04a4b68b8aabbfda4a10ed841571150b Mon Sep 17 00:00:00 2001 From: Will Date: Thu, 25 Jul 2024 02:47:09 +0000 Subject: [PATCH] linting --- src/panels/lovelace/cards/hui-markdown-card.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/panels/lovelace/cards/hui-markdown-card.ts b/src/panels/lovelace/cards/hui-markdown-card.ts index 8476cdd552c4..5ab0227f1879 100644 --- a/src/panels/lovelace/cards/hui-markdown-card.ts +++ b/src/panels/lovelace/cards/hui-markdown-card.ts @@ -114,7 +114,10 @@ export class HuiMarkdownCard extends LitElement implements LovelaceCard { if (changedProps.has("_config")) { this._tryConnect(); } - const shouldBeHidden = this._templateResult && this._config.show_empty === false && this._templateResult.result.length === 0; + const shouldBeHidden = + this._templateResult && + this._config.show_empty === false && + this._templateResult.result.length === 0; if (shouldBeHidden !== this.hidden) { this.style.display = shouldBeHidden ? "none" : "block"; this.toggleAttribute("hidden", shouldBeHidden);