fix: issue with toggling the author

Aien Saidi created

Change summary

webui/src/pages/list/FilterToolbar.tsx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Detailed changes

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={[