From 356b291a57ccd313a9a370664afb2c78edac33bc Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 6 Feb 2022 19:35:30 +0100 Subject: [PATCH] chore: change return --- src/components/date/datepickerWithRange.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/date/datepickerWithRange.vue b/src/components/date/datepickerWithRange.vue index 3953db9d..3c5cd588 100644 --- a/src/components/date/datepickerWithRange.vue +++ b/src/components/date/datepickerWithRange.vue @@ -155,8 +155,8 @@ function setDateRange(range: string[] | null) { } -const customRangeActive = computed(() => { - return !Object.values(DateRanges).some(el => from.value === el[0] && to.value === el[1]) +const customRangeActive = computed(() => { + return !Object.values(DATE_RANGES).some(el => from.value === el[0] && to.value === el[1]) }) const buttonText = computed(() => {