diff options
author | Aien Saidi <aien.saidi@gmail.com> | 2021-03-24 17:13:20 +0100 |
---|---|---|
committer | Sascha <GlancingMind@outlook.com> | 2021-04-07 13:08:26 +0200 |
commit | 248201bcbdcd0415870a5f75211bf3a3108777c1 (patch) | |
tree | 6c696aa5391c29a263add8c547e16886a5f8ecb0 /webui | |
parent | f82071a3d7140a1e21c02b27f03871794116af8a (diff) | |
download | git-bug-248201bcbdcd0415870a5f75211bf3a3108777c1.tar.gz |
fix: issue with toggling the author
Diffstat (limited to 'webui')
-rw-r--r-- | webui/src/pages/list/FilterToolbar.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webui/src/pages/list/FilterToolbar.tsx b/webui/src/pages/list/FilterToolbar.tsx index 1af96d0f..59a09226 100644 --- a/webui/src/pages/list/FilterToolbar.tsx +++ b/webui/src/pages/list/FilterToolbar.tsx @@ -163,7 +163,7 @@ function FilterToolbar({ query, queryLocation }: Props) { <FilterDropdown dropdown={identities} itemActive={(key) => hasValue('author', key)} - to={(key) => pipe(replaceParam('author', key), loc)(params)} + to={(key) => pipe(toggleParam('author', key), loc)(params)} hasFilter > Author @@ -174,7 +174,7 @@ function FilterToolbar({ query, queryLocation }: Props) { to={(key) => pipe(toggleOrAddParam('label', key), loc)(params)} hasFilter > - Label + Labels </FilterDropdown> <FilterDropdown dropdown={[ |