mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 09:55:06 +03:00
fix(storage): restore the pointer to where retention is configured
The breakdown is the only place on the org usage page that tells a user how to act on the noncurrent bytes they're being billed for, and the navigation path had been trimmed out of it. Also flags why the per-bucket rows aren't links: buckets are per-project and this is an org-level page, so the endpoint needs to return a project ref before a row can be linked — or even disambiguated, since two projects can both have an `avatars` bucket. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
bbd7cba64b
commit
8a5bbf949b
1 file changed
+7
-1
+7
-1
@@ -76,8 +76,14 @@ export const StorageRetentionBreakdown = () => {
|
||||
<p className="w-16 text-right text-xs">{formatBytes(bucket.noncurrent)}</p>
|
||||
</div>
|
||||
))}
|
||||
{/*
|
||||
* TODO(storage-versioning): link each row to its bucket once the
|
||||
* endpoint returns a project ref alongside the bucket name. Buckets are
|
||||
* per-project and this is an org-level page, so today two projects with
|
||||
* an identically named bucket are indistinguishable here.
|
||||
*/}
|
||||
<p className="pt-2 text-xs text-foreground-lighter">
|
||||
Retention is set per bucket, in the bucket’s settings.
|
||||
Retention is set per bucket, under Storage → bucket settings → Object versioning.
|
||||
</p>
|
||||
</div>
|
||||
)}
|
||||
|
||||
Reference in new issue
Block a user