Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ildar170975 authored Jan 11, 2025
1 parent 5ef0a28 commit feae9e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,8 @@ 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,
(element, index) => element._history === undefined
&& this.config.entities[index].show_graph !== false,
))
|| this.config.show.loading_indicator !== true;
return this.config.show.graph ? html`
Expand Down

0 comments on commit feae9e2

Please sign in to comment.