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:
@@ -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
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user