Skip to content

Commit

Permalink
chore: clean request after selected change
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpmule committed Oct 10, 2023
1 parent f4c2eb5 commit d40c3b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ApiRequestEditorElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,7 @@ export class ApiRequestEditorElement extends AmfHelperMixin(
}

_selectedChanged() {
this.clearRequest()
const { amf, selected } = this;
if (!amf || !selected) {
return;
Expand Down

0 comments on commit d40c3b8

Please sign in to comment.