From: Bastian Dehn Date: Mon, 6 Jun 2022 13:02:44 +0000 (+0200) Subject: change: add food form hidden after input X-Git-Tag: v1.0^2~42 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=01b5bc7dd8d2388b6e74f99f64628068a0c4f1e2;p=speisekarten-editor.git change: add food form hidden after input --- diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 0432c23..da0d94c 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -85,6 +85,7 @@ export class AppComponent let lastSubtitle = this.getLastSubtitle(); lastSubtitle.Foods.push(this.food); this.food = { Food: "", sideDish: "", price: "" }; + this.formFoodVisible = false; } public removeFood(subtitle: ISubtitle, foodindex: number): void