diff --git a/src/routes/console/organization-[organization]/settings/deleteOrganizationModal.svelte b/src/routes/console/organization-[organization]/settings/deleteOrganizationModal.svelte index 47c9c7660..7cc7c3537 100644 --- a/src/routes/console/organization-[organization]/settings/deleteOrganizationModal.svelte +++ b/src/routes/console/organization-[organization]/settings/deleteOrganizationModal.svelte @@ -75,9 +75,16 @@

{:else}

- Are you sure you want to delete {$organization.name}? All projects ({$projects.total}) - and data associated with this organization will be deleted. This action is irreversible. + Are you sure you want to delete {$organization.name}? + {#if $projects.total > 0} + All projects ({$projects.total}) and data associated with this organization will be + deleted. + {:else} + There are no projects associated with this organization. + {/if}

+ +

This action is irreversible.

{/if}