From 387b079cbe3ebb7fb4cb21da5888ec7b2e46c8a3 Mon Sep 17 00:00:00 2001 From: Calum Date: Wed, 17 Jul 2024 14:51:30 +0100 Subject: [PATCH] utilize getter --- apps/frontend/src/components/ui/charts/ChartDisplay.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/frontend/src/components/ui/charts/ChartDisplay.vue b/apps/frontend/src/components/ui/charts/ChartDisplay.vue index 32fc1245d..a95fce820 100644 --- a/apps/frontend/src/components/ui/charts/ChartDisplay.vue +++ b/apps/frontend/src/components/ui/charts/ChartDisplay.vue @@ -369,7 +369,7 @@ const selectedRange = computed({ }); const formattedCategorySubtitle = computed(() => { - return internalRange.value.getLabel([dayjs(startDate.value), dayjs(endDate.value)]); + return selectedRange.value.getLabel([dayjs(startDate.value), dayjs(endDate.value)]); }); const selectedDataSet = computed(() => {