Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Add comment to remove case check (#38355)

Joshen Limda9f50101393
diff --git a/apps/studio/state/storage-explorer.tsx b/apps/studio/state/storage-explorer.tsx
index 90ceef7b787..70ad6420716 100644
--- a/apps/studio/state/storage-explorer.tsx
+++ b/apps/studio/state/storage-explorer.tsx
@@ -1654,6 +1654,10 @@ function createStorageExplorerState({
const currentColumnItems = currentColumn.items.filter(
(item) => item.status !== STORAGE_ROW_STATUS.EDITING
)
+ // [Joshen] JFYI storage does support folders of the same name with different casing
+ // but its an issue with the List V1 endpoint that's causing an issue with fetching contents
+ // for folders of the same name with different casing
+ // We should remove this check once all projects are on the List V2 endpoint
const hasSameNameInColumn =
currentColumnItems.filter((item) => item.name.toLowerCase() === name.toLowerCase()).length >
0