]> gitweb.hhaalo.de Git - speisekarten-editor.git/commitdiff
change: add food form hidden after input
authorBastian Dehn <hhaalo@arcor.de>
Mon, 6 Jun 2022 13:02:44 +0000 (15:02 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Mon, 6 Jun 2022 13:02:44 +0000 (15:02 +0200)
src/app/app.component.ts

index 0432c23e74088e5080e08851719dafa5ffe568b8..da0d94cf1501817dc0425ae6142ec4c9b27e386f 100644 (file)
@@ -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