diff --git a/project/ws/viewer/src/lib/plugins/practice/components/overview/overview.component.html b/project/ws/viewer/src/lib/plugins/practice/components/overview/overview.component.html
index c12560d6a1..00f23d62cf 100755
--- a/project/ws/viewer/src/lib/plugins/practice/components/overview/overview.component.html
+++ b/project/ws/viewer/src/lib/plugins/practice/components/overview/overview.component.html
@@ -83,24 +83,24 @@
= 6">
-
= 6">
-
+
{{'playerbrief.startAssessment' | translate}}
- = canAttempt?.attemptsAllowed && !forPreview">{{'playerbrief.maxAllowedRetake' | translate}}
+ = canAttempt?.attemptsAllowed && !forPreview && questionTYP.FINAL_ASSESSMENT === primaryCategory">{{'playerbrief.maxAllowedRetake' | translate}}
-
+
{{'playerbrief.startAssessment' | translate}}
- = canAttempt?.attemptsAllowed && !forPreview">{{'playerbrief.maxAllowedRetake' | translate}}
+ = canAttempt?.attemptsAllowed && !forPreview && questionTYP.FINAL_ASSESSMENT === primaryCategory">{{'playerbrief.maxAllowedRetake' | translate}}
@@ -162,10 +162,10 @@ {{ 'practiceoverview.summary' | translate }}
-
+
{{'playerbrief.startAssessment' | translate}}
- = canAttempt?.attemptsAllowed">{{'playerbrief.maxAllowedRetake' | translate}}
+ = canAttempt?.attemptsAllowed && questionTYP.FINAL_ASSESSMENT === primaryCategory">{{'playerbrief.maxAllowedRetake' | translate}}
diff --git a/project/ws/viewer/src/lib/plugins/practice/components/overview/overview.component.ts b/project/ws/viewer/src/lib/plugins/practice/components/overview/overview.component.ts
index 4dbad87547..221bb656c5 100755
--- a/project/ws/viewer/src/lib/plugins/practice/components/overview/overview.component.ts
+++ b/project/ws/viewer/src/lib/plugins/practice/components/overview/overview.component.ts
@@ -62,11 +62,11 @@ export class OverviewComponent implements OnInit, OnChanges, OnDestroy {
ngOnChanges() {
if (!this.forPreview) {
- if (this.canAttempt && (this.canAttempt.attemptsMade >= this.canAttempt.attemptsAllowed)) {
+ if (this.canAttempt && (this.canAttempt.attemptsMade >= this.canAttempt.attemptsAllowed) &&
+ this.questionTYP.FINAL_ASSESSMENT === this.primaryCategory) {
if (!this.maxAttempPopup) {
this.showAssessmentPopup()
}
-
}
}
diff --git a/project/ws/viewer/src/lib/plugins/practice/practice.component.ts b/project/ws/viewer/src/lib/plugins/practice/practice.component.ts
index 8e58146a0c..3c59fb517c 100644
--- a/project/ws/viewer/src/lib/plugins/practice/practice.component.ts
+++ b/project/ws/viewer/src/lib/plugins/practice/practice.component.ts
@@ -1638,15 +1638,17 @@ export class PracticeComponent implements OnInit, OnChanges, OnDestroy {
if(this.selectedAssessmentCompatibilityLevel < 6) {
this.init()
} else {
- this.quizSvc.canAttendV5(this.identifier).subscribe(response => {
- if (response) {
- this.canAttempt = response
- // this.canAttempt = {
- // attemptsAllowed: 1,
- // attemptsMade: 0,
- // }
- }
- })
+ if(this.ePrimaryCategory.FINAL_ASSESSMENT == this.primaryCategory) {
+ this.quizSvc.canAttendV5(this.identifier).subscribe(response => {
+ if (response) {
+ this.canAttempt = response
+ // this.canAttempt = {
+ // attemptsAllowed: 1,
+ // attemptsMade: 0,
+ // }
+ }
+ })
+ }
this.retakeAssessment()
}