The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix
Joshen Lim4f9310931bee
diff --git a/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerColumn.tsx b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerColumn.tsxindex 2793a20724b..595d5a1a885 100644--- a/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerColumn.tsx+++ b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerColumn.tsx@@ -252,14 +252,17 @@ const FileExplorerColumn = ({</div>)}- {snap.isSearching && itemSearchString.length > 0 && isEmpty && (- <div className="h-full w-full flex flex-col items-center justify-center">- <p className="text-sm my-3 text-scale-1200">No results found in this folder</p>- <p className="w-40 text-center text-sm text-light">- Your search for "{itemSearchString}" did not return any results- </p>- </div>- )}+ {snap.isSearching &&+ itemSearchString.length > 0 &&+ isEmpty &&+ column.status !== STORAGE_ROW_STATUS.LOADING && (+ <div className="h-full w-full flex flex-col items-center justify-center">+ <p className="text-sm my-3 text-scale-1200">No results found in this folder</p>+ <p className="w-40 text-center text-sm text-light">+ Your search for "{itemSearchString}" did not return any results+ </p>+ </div>+ )}{/* Drag drop upload CTA for when column has files */}<DragOverOverlaydiff --git a/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerHeader.tsx b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerHeader.tsxindex 4e2f88297c1..8877d3efa13 100644--- a/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerHeader.tsx+++ b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerHeader.tsx@@ -134,6 +134,7 @@ const FileExplorerHeader = ({popColumn,popColumnAtIndex,popOpenedFolders,+ popOpenedFoldersAtIndex,fetchFoldersByPath,refetchAllOpenedFolders,addNewFolderPlaceholder,@@ -232,6 +233,7 @@ const FileExplorerHeader = ({const selectBreadcrumb = (columnIndex: number) => {popColumnAtIndex(columnIndex)+ popOpenedFoldersAtIndex(columnIndex - 1)}const refreshData = async () => {diff --git a/studio/components/to-be-cleaned/Storage/StorageExplorer/StorageExplorer.tsx b/studio/components/to-be-cleaned/Storage/StorageExplorer/StorageExplorer.tsxindex 84b52df6988..5b2a1338398 100644--- a/studio/components/to-be-cleaned/Storage/StorageExplorer/StorageExplorer.tsx+++ b/studio/components/to-be-cleaned/Storage/StorageExplorer/StorageExplorer.tsx@@ -6,7 +6,7 @@ import { useEffect, useRef, useState } from 'react'import { useProjectSettingsQuery } from 'data/config/project-settings-query'import { useCustomDomainsQuery } from 'data/custom-domains/custom-domains-query'import { Bucket } from 'data/storage/buckets-query'-import { useStore } from 'hooks'+import { useLatest, useStore } from 'hooks'import { DEFAULT_PROJECT_API_SERVICE_ID, IS_PLATFORM } from 'lib/constants'import { copyToClipboard } from 'lib/helpers'import { useStorageStore } from 'localStores/storageExplorer/StorageExplorerStore'