mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-19 17:52:45 +02:00
feat: more powerful project search
This commit is contained in:
parent
f9f086dcf1
commit
9160f21552
@ -73,7 +73,7 @@ export const SearchSuggestions: VFC<SearchSuggestionsProps> = ({
|
||||
name: column.filterName,
|
||||
header: column.Header ?? column.filterName,
|
||||
options: [...new Set(filterOptions)]
|
||||
.filter((it: unknown) => it)
|
||||
.filter(Boolean)
|
||||
.sort((a, b) => a.localeCompare(b)),
|
||||
suggestedOption:
|
||||
filterOptions[randomRow] ?? `example-${column.filterName}`,
|
||||
|
Loading…
Reference in New Issue
Block a user