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(() => {