From 32d9e9ef5147bd786cf04475e0f017f23c147f77 Mon Sep 17 00:00:00 2001 From: Surya Bulusu Date: Wed, 4 Dec 2024 14:28:40 +0530 Subject: [PATCH] minor correction on show scores --- src/app/(home)/ModalData.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/(home)/ModalData.ts b/src/app/(home)/ModalData.ts index ddabdb3..5cb4069 100644 --- a/src/app/(home)/ModalData.ts +++ b/src/app/(home)/ModalData.ts @@ -71,7 +71,7 @@ export const displayData = (data: Session, formOptions: Option[]) => { { label: 'Marking Scheme', value: data.meta_data?.marking_scheme }, { label: 'Optional Limits', value: data.meta_data?.optional_limits }, { label: 'Show Answers', value: data.meta_data?.show_answers ? 'Yes' : 'No' }, - { label: 'Show Scores', value: data.meta_data?.show_scores ? 'Yes' : 'No' }, + { label: 'Show Scores', value: data.meta_data?.show_scores == false ? 'No' : 'Yes' }, { label: 'CMS Link', value: data.meta_data?.cms_test_id ? absoluteLink(data.meta_data?.cms_test_id) : 'N/A',