fix: allow org. deletion on self-hosted.

This commit is contained in:
ItzNotABug
2024-04-14 15:59:10 +05:30
parent 737457c144
commit 17fb53316d
2 changed files with 2 additions and 4 deletions
@@ -99,6 +99,4 @@
{/if}
</Container>
{#if isCloud && data.invoices}
<Delete bind:showDelete invoices={data.invoices} />
{/if}
<Delete bind:showDelete invoices={data.invoices} />
@@ -51,7 +51,7 @@
}
}
$: upcomingInvoice = invoices.invoices.find((i) => i.status === 'upcoming' && i.amount > 0);
$: upcomingInvoice = invoices?.invoices.find((i) => i.status === 'upcoming' && i.amount > 0);
</script>
<Modal