]> gitweb.hhaalo.de Git - speisekarten-editor.git/commitdiff
add: foodcard variable object
authorBastian Dehn <hhaalo@arcor.de>
Mon, 6 Jun 2022 10:27:43 +0000 (12:27 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Mon, 6 Jun 2022 10:27:43 +0000 (12:27 +0200)
src/app/app.component.ts

index b16891037c300df6d6abeb4cf9ce77148155f19f..49ca5aceaacc6a53bfd5261d9a259641b15a2399 100644 (file)
@@ -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 = {