1
0

Fix setting filters for reminders

This commit is contained in:
kolaente
2021-07-20 22:45:10 +02:00
parent 7b16928d81
commit 2838ec6148

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 // Only filter if we have a start and end due date
if (this.filters[variableName] !== '') { if (this.filters[variableName] !== '') {