fix: allow org. deletion on self-hosted.

This commit is contained in:
ItzNotABug committed 2024-04-14 15:59:10 +05:30
1 parent 737457c144
commit 17fb53316d
2 files changed
+2 -4

No files matched your search

@@ -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