chore: change return

This commit is contained in:
kolaente 2022-02-06 19:35:30 +01:00
parent 60be8b428e
commit 356b291a57
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -155,8 +155,8 @@ function setDateRange(range: string[] | null) {
}
const customRangeActive = computed<Boolean>(() => {
return !Object.values(DateRanges).some(el => from.value === el[0] && to.value === el[1])
const customRangeActive = computed<boolean>(() => {
return !Object.values(DATE_RANGES).some(el => from.value === el[0] && to.value === el[1])
})
const buttonText = computed<string>(() => {