mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
refactor: Improve search functionality in SuggestionsMenu (#7411)
This commit is contained in:
@@ -433,6 +433,7 @@ function SuggestionsMenu<T extends MenuItem>(props: Props<T>) {
|
||||
}
|
||||
|
||||
return (
|
||||
(item.name || "").toLocaleLowerCase().includes(searchInput) ||
|
||||
(item.title || "").toLocaleLowerCase().includes(searchInput) ||
|
||||
(item.keywords || "").toLocaleLowerCase().includes(searchInput)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user