diff --git a/dashboard/src/main/home/app-dashboard/apps/AppGrid.tsx b/dashboard/src/main/home/app-dashboard/apps/AppGrid.tsx index aaf921c941..25b746e12a 100644 --- a/dashboard/src/main/home/app-dashboard/apps/AppGrid.tsx +++ b/dashboard/src/main/home/app-dashboard/apps/AppGrid.tsx @@ -61,7 +61,7 @@ const AppGrid: React.FC = ({ const filteredApps = useMemo(() => { const filteredBySearch = search(appsWithProto ?? [], searchValue, { - keys: ["name"], + keys: ["source.name"], isCaseSensitive: false, }); diff --git a/dashboard/src/main/home/app-dashboard/validate-apply/services-settings/tabs/Resources.tsx b/dashboard/src/main/home/app-dashboard/validate-apply/services-settings/tabs/Resources.tsx index 0deb091a45..49403eecde 100644 --- a/dashboard/src/main/home/app-dashboard/validate-apply/services-settings/tabs/Resources.tsx +++ b/dashboard/src/main/home/app-dashboard/validate-apply/services-settings/tabs/Resources.tsx @@ -156,7 +156,7 @@ const Resources: React.FC = ({ = ({ ( if (!searchTerm) { return items; } + const fuse = new Fuse(items, options); return fuse.search(searchTerm).map((result) => result.item); };