fix: update KanbanFilters to always include tags and priorities

- Modified KanbanFilters to set tags and priorities directly, removing the conditional checks for empty arrays. This ensures that the filters are always updated with the latest values, improving consistency in filter application.
This commit is contained in:
Julien Froidefond
2025-09-17 14:52:59 +02:00
parent 21500269e1
commit 7e7be6a890

View File

@@ -79,7 +79,7 @@ export function KanbanFilters({ filters, onFiltersChange, hiddenStatuses: propsH
onFiltersChange({
...filters,
tags: newTags.length > 0 ? newTags : undefined
tags: newTags
});
};
@@ -91,7 +91,7 @@ export function KanbanFilters({ filters, onFiltersChange, hiddenStatuses: propsH
onFiltersChange({
...filters,
priorities: newPriorities.length > 0 ? newPriorities : undefined
priorities: newPriorities
});
};