We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c03146 commit ab211a4Copy full SHA for ab211a4
apps/studio/pages/project/[ref]/storage/files/buckets/[bucketId].tsx
@@ -35,7 +35,7 @@ const BucketPage: NextPageWithLayout = () => {
35
}
36
37
// If the bucket is not found or the bucket type is ANALYTICS or VECTOR, show an error message
38
- if (!bucket || bucket.type !== 'STANDARD') {
+ if (!bucket || ('type' in bucket && bucket.type !== 'STANDARD')) {
39
return (
40
<div className="flex h-full w-full items-center justify-center">
41
<p className="text-sm text-foreground-light">Bucket "{bucketId}" cannot be found</p>
0 commit comments