From 01b5bc7dd8d2388b6e74f99f64628068a0c4f1e2 Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Mon, 6 Jun 2022 15:02:44 +0200 Subject: [PATCH] change: add food form hidden after input --- src/app/app.component.ts | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5