aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/pages
diff options
context:
space:
mode:
authorAien Saidi <aien.saidi@gmail.com>2021-03-24 18:13:05 +0100
committerSascha <GlancingMind@outlook.com>2021-04-07 13:08:26 +0200
commit1216fb1e27919c58c3df81950adaf556bdb73594 (patch)
tree1b33336e69f5568e1204ab48587883e1a340667d /webui/src/pages
parentbff9fa673a4b481511fcc81bfd50ee74487788ab (diff)
downloadgit-bug-1216fb1e27919c58c3df81950adaf556bdb73594.tar.gz
chore: returning value
Diffstat (limited to 'webui/src/pages')
-rw-r--r--webui/src/pages/list/FilterToolbar.tsx5
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
>