From 9ed977689fe92e514e83eec43ff809e89a460129 Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Sat, 14 Dec 2019 14:07:36 -0500 Subject: Fix changes made for demo Changes reloading times so recipes are successfully added/deleted. Adds checked/cart_index to Ingredient on DataModel --- recipeBuddy/src/app/DataModels/ingredient.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipeBuddy/src/app/DataModels') 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; -- cgit v1.1