From c0ed07d4ce0afa23a71de1f31a75727be75440b2 Mon Sep 17 00:00:00 2001 From: ShahKirtan2003 Date: Sat, 14 Dec 2024 23:38:07 +0530 Subject: [PATCH 1/2] fix default value of timeline events availability chart --- src/pages/studyView/StudyViewPageStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/studyView/StudyViewPageStore.ts b/src/pages/studyView/StudyViewPageStore.ts index b6a30974620..daa4cb9c3ad 100644 --- a/src/pages/studyView/StudyViewPageStore.ts +++ b/src/pages/studyView/StudyViewPageStore.ts @@ -7836,7 +7836,7 @@ export class StudyViewPageStore if (this.shouldDisplayClinicalEventTypeCounts.result) { this.changeChartVisibility( SpecialChartsUniqueKeyEnum.CLINICAL_EVENT_TYPE_COUNTS, - true + false ); this.chartsType.set( SpecialChartsUniqueKeyEnum.CLINICAL_EVENT_TYPE_COUNTS, From ceae830606fb58213d1f13cd33f7a818de41b860 Mon Sep 17 00:00:00 2001 From: ShahKirtan2003 Date: Wed, 25 Dec 2024 15:04:02 +0530 Subject: [PATCH 2/2] Addressed review comment to remove changeChartVisibility condition --- src/pages/studyView/StudyViewPageStore.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/pages/studyView/StudyViewPageStore.ts b/src/pages/studyView/StudyViewPageStore.ts index daa4cb9c3ad..ecdc4ecb6ae 100644 --- a/src/pages/studyView/StudyViewPageStore.ts +++ b/src/pages/studyView/StudyViewPageStore.ts @@ -7834,10 +7834,6 @@ export class StudyViewPageStore @action initializeClinicalEventTypeCountChart(): void { if (this.shouldDisplayClinicalEventTypeCounts.result) { - this.changeChartVisibility( - SpecialChartsUniqueKeyEnum.CLINICAL_EVENT_TYPE_COUNTS, - false - ); this.chartsType.set( SpecialChartsUniqueKeyEnum.CLINICAL_EVENT_TYPE_COUNTS, ChartTypeEnum.CLINICAL_EVENT_TYPE_COUNTS_TABLE