Fix setting filters for reminders
continuous-integration/drone/push Build was killed Details

This commit is contained in:
kolaente 2021-07-20 22:45:10 +02:00
parent 7b16928d81
commit 2838ec6148
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 5 additions and 1 deletions

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] !== '') {