Skip to content

Commit

Permalink
fix: loading spinner not working
Browse files Browse the repository at this point in the history
  • Loading branch information
punxaphil committed Dec 19, 2023
1 parent 610ac0f commit 6fe69bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editor/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ class CardEditor extends BaseEditor {
@state() private configArea = GENERAL;

protected render(): TemplateResult {
this.store = new Store(this.hass, this.config);
if (!this.config.sections || this.config.sections.length === 0) {
this.config.sections = [Section.PLAYER, Section.VOLUMES, Section.GROUPS, Section.GROUPING, Section.MEDIA_BROWSER];
}
this.store = new Store(this.hass, this.config, this.config.sections[0]);

return html`
<ha-control-button-group>
Expand Down

0 comments on commit 6fe69bd

Please sign in to comment.