Skip to content

Commit

Permalink
Add keyed ApiRequest to ensure it gets updated on changes. fix #168
Browse files Browse the repository at this point in the history
  • Loading branch information
wparad committed Sep 20, 2023
1 parent ba6b0dc commit 119992e
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/components/api-request.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,16 +172,7 @@ export default class ApiRequest extends LitElement {
<div class=" ${this.callback === 'true' ? 'tiny-title' : 'req-res-title'} ">
${this.callback === 'true' ? 'CALLBACK REQUEST' : getI18nText('operations.request')}
</div>
<div>
${this.inputParametersTemplate('path')}
${this.inputParametersTemplate('query')}
${this.requestBodyTemplate()}
${this.inputParametersTemplate('header')}
${this.inputParametersTemplate('cookie')}
${this.allowTry === 'false' ? '' : html`${this.apiCallTemplate()}`}
</div>
</div>
`;
`);
}

updated(changedProperties) {
Expand Down

0 comments on commit 119992e

Please sign in to comment.