diff --git a/src/main.js b/src/main.js index 31394b4..68d9d09 100644 --- a/src/main.js +++ b/src/main.js @@ -323,13 +323,13 @@ 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, - ) + 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`