Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

🐛 Hide billing link on self-hosted

Luke Vellaa9d34829d154
diff --git a/apps/web/src/app/[locale]/(space)/page.tsx b/apps/web/src/app/[locale]/(space)/page.tsx
index b0b1903dd..ea27bb786 100644
--- a/apps/web/src/app/[locale]/(space)/page.tsx
+++ b/apps/web/src/app/[locale]/(space)/page.tsx
@@ -106,15 +106,16 @@ export default async function Page(props: { params: Promise<Params> }) {
</TileTitle>
</Link>
</Tile>
-
- <Tile asChild>
- <Link href="/settings/billing">
- <BillingPageIcon />
- <TileTitle>
- <Trans i18nKey="billing" defaults="Billing" />
- </TileTitle>
- </Link>
- </Tile>
+ <IfCloudHosted>
+ <Tile asChild>
+ <Link href="/settings/billing">
+ <BillingPageIcon />
+ <TileTitle>
+ <Trans i18nKey="billing" defaults="Billing" />
+ </TileTitle>
+ </Link>
+ </Tile>
+ </IfCloudHosted>
</TileGrid>
</div>
</PageContent>