Status!
continuous-integration/drone/push Build is passing

This commit is contained in:
Stian Fredrik Aune
2020-12-05 15:41:19 +01:00
parent e0da5a80df
commit f05c3b3a20
+1 -1
View File
@@ -133,7 +133,7 @@ class Workout {
} else if (this.program.warmupMin > ws.minutes) {
targetLevel = this.program.warmupLevel;
}
if (targetLevel !== ws.level && status === "started") {
if (targetLevel !== ws.level && this.state === "started") {
this.driver.setLevel(targetLevel);
}