From b0bd782b6ff20ff874afc9ebf0b8ab9274ea2a09 Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Tue, 10 Dec 2019 19:43:32 -0500 Subject: Fix removes testing value for timeLeft on step-card --- recipeBuddy/src/app/cook-page/cook-page.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipeBuddy/src/app/cook-page/cook-page.component.ts b/recipeBuddy/src/app/cook-page/cook-page.component.ts index 3def7db..a3a1dfe 100644 --- a/recipeBuddy/src/app/cook-page/cook-page.component.ts +++ b/recipeBuddy/src/app/cook-page/cook-page.component.ts @@ -42,8 +42,8 @@ export class CookPageComponent implements OnInit { this.nextStep = this.steps[this.stepNum].instruction; else this.lastStep = true; -// this.timeLeft = this.steps[this.stepNum-1].timer; - this.timeLeft = 88888; + + this.timeLeft = this.steps[this.stepNum-1].timer; this.timeHoursFirst = Math.floor(this.timeLeft/3600/10); this.timeHoursSecond = Math.floor(this.timeLeft/3600%10); this.timeMinutesFirst = Math.floor(this.timeLeft%3600/60/10); -- cgit v1.1