Skip to content

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

Bring changes from master and resolve conflicts

Joshen Lim843462063bc8
diff --cc studio/components/interfaces/Settings/Database/DiskSizeConfiguration.tsx
index cfd4ff5ccbf,aa9cc4a9163..21fef5e95c6
--- a/studio/components/interfaces/Settings/Database/DiskSizeConfiguration.tsx
+++ b/studio/components/interfaces/Settings/Database/DiskSizeConfiguration.tsx
@@@ -181,10 -167,14 +181,10 @@@ const DiskSizeConfiguration = ({ disabl
validationSchema={diskSizeValidationSchema}
onSubmit={confirmResetDbPass}
>
-- {({ isSubmitting }: { isSubmitting: boolean }) =>
++ {() =>
currentDiskSize >= maxDiskSize ? (
<>
- <Alert
- withIcon
- variant="warning"
- title={'Maximum manual disk size increase reached'}
- >
+ <Alert withIcon variant="warning" title="Maximum manual disk size increase reached">
You cannot manually expand the disk size any more than {maxDiskSize} GB. If you
need more than this, contact us to learn more about the Enterprise plan.
</Alert>
@@@ -221,12 -197,7 +221,12 @@@
<Button type="default" onClick={() => setShowResetDbPass(false)}>
Cancel
</Button>
- <Button htmlType="submit" type="primary" loading={isSubmitting}>
+ <Button
+ htmlType="submit"
+ type="primary"
+ disabled={!isAbleToResizeDatabase}
- loading={isSubmitting}
++ loading={isUpdatingDiskSize}
+ >
Update disk size
</Button>
</div>