diff --git a/ui/src/components/transaction/transaction-container.ts b/ui/src/components/transaction/transaction-container.ts index 11cb30b..565ea60 100644 --- a/ui/src/components/transaction/transaction-container.ts +++ b/ui/src/components/transaction/transaction-container.ts @@ -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) } }