Skip to content

Commit

Permalink
fixed small glitch seen in the wild
Browse files Browse the repository at this point in the history
when resetting state

Signed-off-by: quobix <dave@quobix.com>
  • Loading branch information
daveshanley committed Dec 2, 2023
1 parent 2222bbb commit 86f4245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/components/transaction/transaction-container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export class HttpTransactionContainerComponent extends LitElement {

handleSpecChange(value: string) {
this._specValue = value;
if (this, this._specEditor) {
if (this?._specEditor && value) {
this._specEditor.setValue(value)
}
}
Expand Down

0 comments on commit 86f4245

Please # to comment.