Skip to content

Commit

Permalink
Rename classes
Browse files Browse the repository at this point in the history
  • Loading branch information
piitaya committed Jul 17, 2024
1 parent 0e2e78f commit 8133b2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/panels/lovelace/components/hui-badge-edit-mode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import {
import { Lovelace } from "../types";

@customElement("hui-badge-edit-mode")
export class HuiCardEditMode extends LitElement {
export class HuiBadgeEditMode extends LitElement {
@property({ attribute: false }) public hass!: HomeAssistant;

@property({ attribute: false }) public lovelace!: Lovelace;
Expand Down Expand Up @@ -270,6 +270,6 @@ export class HuiCardEditMode extends LitElement {

declare global {
interface HTMLElementTagNameMap {
"hui-badge-edit-mode": HuiCardEditMode;
"hui-badge-edit-mode": HuiBadgeEditMode;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Condition } from "../../common/validate-condition";
import "../conditions/ha-card-conditions-editor";

@customElement("hui-badge-visibility-editor")
export class HuiCardVisibilityEditor extends LitElement {
export class HuiBadgeVisibilityEditor extends LitElement {
@property({ attribute: false }) public hass!: HomeAssistant;

@property({ attribute: false }) public config!: LovelaceCardConfig;
Expand Down Expand Up @@ -54,6 +54,6 @@ export class HuiCardVisibilityEditor extends LitElement {

declare global {
interface HTMLElementTagNameMap {
"hui-badge-visibility-editor": HuiCardVisibilityEditor;
"hui-badge-visibility-editor": HuiBadgeVisibilityEditor;
}
}

0 comments on commit 8133b2f

Please sign in to comment.