From: Bastian Dehn Date: Mon, 6 Jun 2022 10:27:43 +0000 (+0200) Subject: add: foodcard variable object X-Git-Tag: v1.0^2~49 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=c797c166d9d8bd37ab5085cc48d5087e91269d88;p=speisekarten-editor.git add: foodcard variable object --- diff --git a/src/app/app.component.ts b/src/app/app.component.ts index b168910..49ca5ac 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -1,5 +1,6 @@ import { Component } from '@angular/core'; import { IFood } from './ifood'; +import { IFoodCard } from './ifood-card'; @Component({ selector: 'app-root', @@ -9,6 +10,9 @@ import { IFood } from './ifood'; export class AppComponent { + public foodcard: IFoodCard = { + Titles: [] + } public title: string = "" public subtitle: string = "" public food: IFood = {