diff options
author | Tucker Evans <tuckerevans24@gmail.com> | 2019-12-10 19:43:32 -0500 |
---|---|---|
committer | Tucker Evans <tuckerevans24@gmail.com> | 2019-12-10 19:43:32 -0500 |
commit | b0bd782b6ff20ff874afc9ebf0b8ab9274ea2a09 (patch) | |
tree | 0743aff0667c6cc9d4b8f0c1ec03297bdac343f9 /recipeBuddy/src/app/cook-page/cook-page.component.ts | |
parent | 34ceddd42d6e44f57f4697a254533872c53f4844 (diff) |
Fix removes testing value for timeLeft on step-card
Diffstat (limited to 'recipeBuddy/src/app/cook-page/cook-page.component.ts')
-rw-r--r-- | recipeBuddy/src/app/cook-page/cook-page.component.ts | 4 |
1 files 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); |