Skip to content

Commit

Permalink
Fix dialogs (#616)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus authored Oct 9, 2022
1 parent aa7fdb7 commit cbf2a7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/panels/hacs-experimental-panel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ export class HacsExperimentalPanel extends LitElement {

private _handleMenuAction(ev: CustomEvent) {
switch (ev.detail.index) {
case 3:
case 0:
this.dispatchEvent(
new CustomEvent("hacs-dialog", {
detail: {
Expand All @@ -334,7 +334,7 @@ export class HacsExperimentalPanel extends LitElement {
})
);
break;
case 4:
case 1:
showDialogAbout(this, this.hacs);
break;
}
Expand Down

0 comments on commit cbf2a7b

Please sign in to comment.