Fix setting filters for reminders
This commit is contained in:
parent
7b16928d81
commit
2838ec6148
1 changed files with 5 additions and 1 deletions
|
@ -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] !== '') {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue