mirror of
https://github.com/MichaelMure/git-bug.git
synced 2024-12-14 17:51:44 +03:00
fix: issue with toggling the author
This commit is contained in:
parent
f82071a3d7
commit
248201bcbd
@ -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={[
|
||||
|
Loading…
Reference in New Issue
Block a user