Skip to content

Commit

Permalink
Merge pull request #2257 from vishnubansaltarento/kb-5608-5609-fix
Browse files Browse the repository at this point in the history
Kb 5608 5609 fix
  • Loading branch information
vishnubansaltarento authored Jul 2, 2024
2 parents bdf0da6 + 82c2101 commit 8fb0e68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export class OverviewComponent implements OnInit, OnChanges, OnDestroy {
}

checkForAssessmentSubmitAlready(identifier: any) {
if(this.selectedAssessmentCompatibilityLevel) {
if (this.selectedAssessmentCompatibilityLevel) {
if (this.selectedAssessmentCompatibilityLevel < 6) {
this.quizSvc.canAttend(identifier).subscribe(response => {
if (response && response.attemptsMade > 0) {
Expand All @@ -126,7 +126,7 @@ export class OverviewComponent implements OnInit, OnChanges, OnDestroy {
// }
// })
}
}
}

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ export class PracticeComponent implements OnInit, OnChanges, OnDestroy {
// this.init()
// this.updateVisivility()
// } else {
if(this.selectedAssessmentCompatibilityLevel) {
if (this.selectedAssessmentCompatibilityLevel) {
if (this.selectedAssessmentCompatibilityLevel < 6) {
this.quizSvc.canAttend(this.identifier).subscribe(response => {
if (response) {
Expand All @@ -310,7 +310,6 @@ export class PracticeComponent implements OnInit, OnChanges, OnDestroy {
})
}
}


// }
}
Expand Down

0 comments on commit 8fb0e68

Please sign in to comment.