Fix setting filters for reminders

This commit is contained in:
kolaente 2021-07-20 22:45:10 +02:00
parent 7b16928d81
commit 2838ec6148
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -323,7 +323,11 @@ export default {
}
}
},
setDateFilter(filterName, variableName) {
setDateFilter(filterName, variableName = null) {
if (variableName === null) {
variableName = filterName
}
// Only filter if we have a start and end due date
if (this.filters[variableName] !== '') {