diff --git a/force-app/main/default/lwc/timer/timer.js b/force-app/main/default/lwc/timer/timer.js index b198ab4..3e09c60 100644 --- a/force-app/main/default/lwc/timer/timer.js +++ b/force-app/main/default/lwc/timer/timer.js @@ -66,7 +66,10 @@ export default class Timer extends LightningElement { } get remainingPathColor() { - const progressPercent = this.secondsPassed / this.timeInSeconds; - return `background: ${this.getColor(progressPercent)}`; + if (!this.showStartBtn) { + const progressPercent = this.secondsPassed / this.timeInSeconds; + return `background: ${this.getColor(progressPercent)}`; + } + return ""; } }