From d92e3a965e1b0d1d92440f9da893906794f28cf8 Mon Sep 17 00:00:00 2001 From: vpPavithra Date: Mon, 3 Aug 2026 15:08:03 +0530 Subject: [PATCH] fix(quiz,asha-learning): default isAssessment to true and fix competency label casing --- project/ws/viewer/src/lib/routes/quiz/quiz.component.ts | 2 +- .../asha-learning-completed.component.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/project/ws/viewer/src/lib/routes/quiz/quiz.component.ts b/project/ws/viewer/src/lib/routes/quiz/quiz.component.ts index a7fa9459a..98e9ab828 100644 --- a/project/ws/viewer/src/lib/routes/quiz/quiz.component.ts +++ b/project/ws/viewer/src/lib/routes/quiz/quiz.component.ts @@ -170,7 +170,7 @@ export class QuizComponent implements OnInit, OnDestroy { question.questionType = 'mcq-sca' } }) - quizJSON.isAssessment = content.isAssessment || false + quizJSON.isAssessment = content.isAssessment ?? true } return quizJSON } diff --git a/src/app/component/competency-course-list/asha-learning-completed/asha-learning-completed.component.html b/src/app/component/competency-course-list/asha-learning-completed/asha-learning-completed.component.html index adef1851a..686d4b252 100644 --- a/src/app/component/competency-course-list/asha-learning-completed/asha-learning-completed.component.html +++ b/src/app/component/competency-course-list/asha-learning-completed/asha-learning-completed.component.html @@ -3,7 +3,7 @@
check_circle - {{ 'COMPETENCY' | translate }} + {{ 'Competency' | translate }}