Skip to content

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

Fix wrong date in paused state (#29501)

Joshen Limc3450e4f6bb5
diff --git a/apps/studio/components/layouts/ProjectLayout/PausedState/ProjectPausedState.tsx b/apps/studio/components/layouts/ProjectLayout/PausedState/ProjectPausedState.tsx
index cc8f6f01786..5e79891d8f7 100644
--- a/apps/studio/components/layouts/ProjectLayout/PausedState/ProjectPausedState.tsx
+++ b/apps/studio/components/layouts/ProjectLayout/PausedState/ProjectPausedState.tsx
@@ -157,7 +157,10 @@ export const ProjectPausedState = ({ product }: ProjectPausedStateProps) => {
<span className="text-foreground">
{dayjs()
.utc()
- .add(pauseStatus.max_days_till_restore_disabled ?? 0, 'day')
+ .add(
+ pauseStatus.remaining_days_till_restore_disabled ?? 0,
+ 'day'
+ )
.format('DD MMM YYYY')}
</span>
. However, your database backup and Storage objects will still be