Skip to content

Commit ab211a4

Browse files
authored
Smol fix files bucket (supabase#40179)
1 parent 0c03146 commit ab211a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/studio/pages/project/[ref]/storage/files/buckets/[bucketId].tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const BucketPage: NextPageWithLayout = () => {
3535
}
3636

3737
// If the bucket is not found or the bucket type is ANALYTICS or VECTOR, show an error message
38-
if (!bucket || bucket.type !== 'STANDARD') {
38+
if (!bucket || ('type' in bucket && bucket.type !== 'STANDARD')) {
3939
return (
4040
<div className="flex h-full w-full items-center justify-center">
4141
<p className="text-sm text-foreground-light">Bucket "{bucketId}" cannot be found</p>

0 commit comments

Comments
 (0)