Skip to content

Commit

Permalink
Limit close event to non-navigation clause
Browse files Browse the repository at this point in the history
  • Loading branch information
AndersonTarren committed Nov 7, 2023
1 parent c07c71e commit eba6169
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,8 @@ export default class ServiceScheduleCreator extends NavigationMixin(LightningEle
this.navigate();
} else {
this.init();
this.dispatchEvent(new CustomEvent("close", { bubbles: true }));
}
this.dispatchEvent(new CustomEvent("close", { bubbles: true }));
}

reset() {
Expand Down

0 comments on commit eba6169

Please sign in to comment.