From d943b9e37d8ff7ee40cefd5b290bd72b4df9d948 Mon Sep 17 00:00:00 2001 From: Darshan Date: Tue, 2 Sep 2025 09:43:07 +0530 Subject: [PATCH 1/2] fix: buttons and modal form. --- .../organization-[organization]/change-plan/+page.svelte | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/routes/(console)/organization-[organization]/change-plan/+page.svelte b/src/routes/(console)/organization-[organization]/change-plan/+page.svelte index eaf4434aa..cdbd1c020 100644 --- a/src/routes/(console)/organization-[organization]/change-plan/+page.svelte +++ b/src/routes/(console)/organization-[organization]/change-plan/+page.svelte @@ -319,7 +319,7 @@ -
+
@@ -347,10 +347,15 @@ title="You can only have one free organization per account"> To downgrade this organization, first migrate or delete your existing free organization. + + {/if} From 25e3ef31a278b154b15d67f4d2d7d04ae2da2a00 Mon Sep 17 00:00:00 2001 From: Darshan Date: Tue, 2 Sep 2025 09:48:18 +0530 Subject: [PATCH 2/2] fix: form causing issue in wizard. --- .../components/organizationUsageLimits.svelte | 92 ++++++++++--------- .../change-plan/+page.svelte | 16 ++-- 2 files changed, 56 insertions(+), 52 deletions(-) diff --git a/src/lib/components/organizationUsageLimits.svelte b/src/lib/components/organizationUsageLimits.svelte index 5fb85a6ae..37ce91b6c 100644 --- a/src/lib/components/organizationUsageLimits.svelte +++ b/src/lib/components/organizationUsageLimits.svelte @@ -261,52 +261,58 @@ - - - Choose which {freePlanLimits.projects} projects to keep. Projects over the limit will be blocked - after your billing cycle ends on {toLocaleDate($organization.billingNextInvoiceDate)}. - +{#if showSelectProject} + + + Choose which {freePlanLimits.projects} projects to keep. Projects over the limit will be + blocked after your billing cycle ends on {toLocaleDate( + $organization.billingNextInvoiceDate + )}. + - {#if error} - {error} - {/if} + {#if error} + {error} + {/if} -
- - - Project Name - Created - - {#each projects as project} - - {project.name} - - {toLocaleDateTime(project.$createdAt)} - - - {/each} - -
- {#if selectedProjects.length === allowedProjectsToKeep} - {@const difference = projects.length - selectedProjects.length} - {@const messagePrefix = difference > 1 ? `${difference} projects` : `${difference} project`} - - {formatProjectsToArchive()} will be archived - - {/if} +
+ + + Project Name + Created + + {#each projects as project} + + {project.name} + + {toLocaleDateTime(project.$createdAt)} + + + {/each} + +
+ {#if selectedProjects.length === allowedProjectsToKeep} + {@const difference = projects.length - selectedProjects.length} + {@const messagePrefix = + difference > 1 ? `${difference} projects` : `${difference} project`} + + {formatProjectsToArchive()} will be archived + + {/if} - - - - -
+ + + + +
+{/if}