diff options
author | Aien Saidi <aien.saidi@gmail.com> | 2021-03-24 18:13:05 +0100 |
---|---|---|
committer | Sascha <GlancingMind@outlook.com> | 2021-04-07 13:08:26 +0200 |
commit | 1216fb1e27919c58c3df81950adaf556bdb73594 (patch) | |
tree | 1b33336e69f5568e1204ab48587883e1a340667d /webui | |
parent | bff9fa673a4b481511fcc81bfd50ee74487788ab (diff) | |
download | git-bug-1216fb1e27919c58c3df81950adaf556bdb73594.tar.gz |
chore: returning value
Diffstat (limited to 'webui')
-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 > |