From 2838ec614824c977b12817c73d0c1781a1b04603 Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 20 Jul 2021 22:45:10 +0200 Subject: [PATCH] Fix setting filters for reminders --- src/components/list/partials/filters.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/list/partials/filters.vue b/src/components/list/partials/filters.vue index 1b64102b..0dc05662 100644 --- a/src/components/list/partials/filters.vue +++ b/src/components/list/partials/filters.vue @@ -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] !== '') {