diff --git a/web/src/elements/forms/ProxyForm.ts b/web/src/elements/forms/ProxyForm.ts index f571b7637..5784fb58d 100644 --- a/web/src/elements/forms/ProxyForm.ts +++ b/web/src/elements/forms/ProxyForm.ts @@ -18,7 +18,7 @@ export class ProxyForm extends Form { } reset(): void { - (this.shadowRoot?.firstElementChild as Form).reset(); + (this.shadowRoot?.firstElementChild as Form | undefined)?.reset(); } getSuccessMessage(): string {