]> gitweb.hhaalo.de Git - speisekarten-editor.git/commitdiff
fix: link clear after execute
authorBastian Dehn <hhaalo@arcor.de>
Fri, 10 Jun 2022 18:07:23 +0000 (20:07 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Fri, 10 Jun 2022 18:07:23 +0000 (20:07 +0200)
src/app/app.component.ts

index ceb2f78e4763d07596f321aa66bf6e6215027aa4..4bf521f2a65430793efb55a26b2ca6787c856213 100644 (file)
@@ -46,6 +46,7 @@ export class AppComponent implements AfterViewChecked
                if (this.downloadJsonHref !== "") {
                        let link = document.getElementById("exportLink");
                        link?.click();
+                       this.downloadJsonHref = "";
                }
        }
 }