From: Bastian Dehn Date: Fri, 10 Jun 2022 18:07:23 +0000 (+0200) Subject: fix: link clear after execute X-Git-Tag: v1.0^2~6 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=4b23ca683384f1edd32da86ddffc88c6ce06d954;p=speisekarten-editor.git fix: link clear after execute --- diff --git a/src/app/app.component.ts b/src/app/app.component.ts index ceb2f78..4bf521f 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -46,6 +46,7 @@ export class AppComponent implements AfterViewChecked if (this.downloadJsonHref !== "") { let link = document.getElementById("exportLink"); link?.click(); + this.downloadJsonHref = ""; } } }