This commit is contained in:
Jonathan Summers-Muir committed 2024-11-01 01:25:42 +08:00
1 parent 4a96969850
commit d7ebef1e02
2 files changed
+6 -2

No files matched your search

@@ -271,7 +271,11 @@ export const DiskManagementReviewAndSubmitDialog = ({
unit="-"
beforePrice={Number(computeSizePrice.oldPrice)}
afterPrice={Number(computeSizePrice.newPrice)}
upgradeIncluded={true}
upgradeIncluded={
subscription?.plan.id !== 'free' &&
project?.infra_compute_size === 'nano' &&
form.getValues('computeSize') === 'ci_micro'
}
/>
)}
{form.formState.defaultValues?.storageType !== form.getValues('storageType') && (
@@ -212,7 +212,7 @@ export default function DiskSpaceBar({ form }: DiskSpaceBarProps) {
</div>
</div>
)}
<p className="text-xs text-foreground-lighter mt-4">
<p className="text-xs text-foreground-lighter my-4">
<span className="font-semibold">Note:</span> Disk Size refers to the total space your
project occupies on disk, including the database itself (currently{' '}
<span>{formatBytes(databaseSizeBytes, 2, 'GB')}</span>), additional files like the