mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
Dont show empty search results if no projects on home page (#21605)
This commit is contained in:
1 parent
f4f5a8b7e9
commit
0bafd1dff7
1 file changed
+1
@@ -43,6 +43,7 @@ const ProjectList = ({ search, rewriteHref }: ProjectListProps) => {
|
||||
const projectsByOrg = groupBy(allProjects, 'organization_id')
|
||||
const isLoadingPermissions = IS_PLATFORM ? _isLoadingPermissions : false
|
||||
const noResults =
|
||||
search.length > 0 &&
|
||||
allProjects !== undefined &&
|
||||
allProjects.filter((project) => {
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user