From 30a30f154ba327f23d37858a8200331399526fae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 20 May 2022 12:17:06 +0200 Subject: [PATCH] Web: always show active status filters Fix a bug where the filter would only show available statuses and thus make it impossible to disable a filter that's no longer available. For example, when showing only `active` tasks, and no task is active any more, it would remove the "filter circle" for `active` status, and thus make it impossible to disable the filter. Now the filter will always show all enabled statuses, even when there is no more job/task with that status. --- web/app/src/components/StatusFilterBar.vue | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/web/app/src/components/StatusFilterBar.vue b/web/app/src/components/StatusFilterBar.vue index faff6a4c..fc1df0b0 100644 --- a/web/app/src/components/StatusFilterBar.vue +++ b/web/app/src/components/StatusFilterBar.vue @@ -1,14 +1,25 @@