Skip to content
Snippets Groups Projects
Commit e8720285 authored by Victor Ekholt Gunrell Kaste's avatar Victor Ekholt Gunrell Kaste
Browse files

feat: fixed ts fault

parent bde4383d
No related branches found
No related tags found
1 merge request!69Feat/redesign roadmap
Pipeline #282325 failed with stages
in 1 minute and 32 seconds
......@@ -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)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment