summaryrefslogtreecommitdiff
path: root/recipeBuddy/src/app/DataModels/ingredient.ts
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-12-14 14:07:36 -0500
committerTucker Evans <tuckerevans24@gmail.com>2019-12-14 16:02:55 -0500
commit9ed977689fe92e514e83eec43ff809e89a460129 (patch)
treea5bc47ad5c4b5ef97f0098180acf46b3f7af5932 /recipeBuddy/src/app/DataModels/ingredient.ts
parent4ec8cbd63deb6cb8b24db58b36ecd4a3ccdda79e (diff)
Fix changes made for demo
Changes reloading times so recipes are successfully added/deleted. Adds checked/cart_index to Ingredient on DataModel
Diffstat (limited to 'recipeBuddy/src/app/DataModels/ingredient.ts')
-rw-r--r--recipeBuddy/src/app/DataModels/ingredient.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipeBuddy/src/app/DataModels/ingredient.ts b/recipeBuddy/src/app/DataModels/ingredient.ts
index 720514c..f755c0c 100644
--- a/recipeBuddy/src/app/DataModels/ingredient.ts
+++ b/recipeBuddy/src/app/DataModels/ingredient.ts
@@ -3,6 +3,8 @@ export class Ingredient {
public amount: number;
public unit: string;
public type_: string;
+ public cart_index: number;
+ public checked: boolean;
public constructor(name: string, amount: number, unit: string, type_: string) {
this.name = name;