diff options
Diffstat (limited to 'webui/src/pages')
-rw-r--r-- | webui/src/pages/list/FilterToolbar.tsx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/webui/src/pages/list/FilterToolbar.tsx b/webui/src/pages/list/FilterToolbar.tsx index cf5994ab..cfb93dc2 100644 --- a/webui/src/pages/list/FilterToolbar.tsx +++ b/webui/src/pages/list/FilterToolbar.tsx @@ -172,10 +172,7 @@ function FilterToolbar({ query, queryLocation }: Props) { </FilterDropdown> <FilterDropdown dropdown={labels} - itemActive={(key) => { - console.log(params, params[key], key); - return containsValue('label', key); - }} + itemActive={(key) => containsValue('label', key)} to={(key) => pipe(toggleOrAddParam('label', key), loc)(params)} hasFilter > |