Skip to content

Commit

Permalink
Corrected a typo in the editor
Browse files Browse the repository at this point in the history
  • Loading branch information
Clooos authored Nov 15, 2024
1 parent 736f48e commit 6ea6046
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/bubble-card.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/editor/bubble-card-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1409,12 +1409,12 @@ export function createBubbleCardEditor() {
${array === 'sub_button' && (context?.show_background ?? true) && (context?.entity ? context?.entity?.startsWith("light") : this._config?.entity?.startsWith("light")) ? html`
<ha-formfield .label="Optional - Background color based on light color">
<ha-switch
aria-label="Optional - Background color based light color"
aria-label="Optional - Background color based on light color"
.checked=${context?.light_background ?? true}
@change="${(ev) => this._arrayValueChange(index, { light_background: ev.target.checked }, array)}"
></ha-switch>
<div class="mdc-form-field">
<label class="mdc-label">Optional - Background color based light color</label>
<label class="mdc-label">Optional - Background color based on light color</label>
</div>
</ha-formfield>
` : ''}
Expand Down

0 comments on commit 6ea6046

Please sign in to comment.