diff --git a/src/components/SavingGoalComponents/SavingGoalRoadmap.vue b/src/components/SavingGoalComponents/SavingGoalRoadmap.vue index 088c8c5504bd8dd9ff03d33097b70360c60f184b..0f31c099235859f68a00f65281020f6375b73276 100644 --- a/src/components/SavingGoalComponents/SavingGoalRoadmap.vue +++ b/src/components/SavingGoalComponents/SavingGoalRoadmap.vue @@ -236,7 +236,7 @@ export default { disableAllChecksThatNotCurrent() { this.selectedGoal.challenges.forEach((challenge: ChallengeDTO, index: number) => { - if (index != this.currentChallengeIndex) { + if (index !== this.currentChallengeIndex && challenge.checkDays !== undefined) { for (let i = 1; i < challenge.checkDays + 1; i++) { this.lockCheckBox(challenge, i) }