diff --git a/src/main.js b/src/main.js index a81b38d..31394b4 100644 --- a/src/main.js +++ b/src/main.js @@ -323,15 +323,15 @@ class MiniGraphCard extends LitElement { } renderGraph() { - const ready = - (this.entity[0] && - !this.Graph.some( - element, - (index) => - element._history === undefined && - this.config.entities[index].show_graph !== false, - )) || - this.config.show.loading_indicator !== true; + const ready = (this.entity[0] && + !this.Graph.some( + element, + (index) => + element._history === undefined && + this.config.entities[index].show_graph !== false, + ) + ) + || this.config.show.loading_indicator !== true; return this.config.show.graph ? html`
${ready ? html`