Skip to content

Commit 84dfa2e

Browse files
committed
fix: hide discord ref for embeds (#8813)
1 parent 8e6168e commit 84dfa2e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

web-admin/src/features/projects/ProjectBuilding.svelte

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
<script lang="ts">
2+
import { page } from "$app/stores";
23
import CtaContentContainer from "@rilldata/web-common/components/calls-to-action/CTAContentContainer.svelte";
34
import CtaHeader from "@rilldata/web-common/components/calls-to-action/CTAHeader.svelte";
45
import CtaLayoutContainer from "@rilldata/web-common/components/calls-to-action/CTALayoutContainer.svelte";
56
import CtaNeedHelp from "@rilldata/web-common/components/calls-to-action/CTANeedHelp.svelte";
67
import Spinner from "@rilldata/web-common/features/entity-management/Spinner.svelte";
78
import { EntityStatus } from "@rilldata/web-common/features/entity-management/types";
9+
import { isEmbedPage } from "@rilldata/web-common/layout/navigation/navigation-utils.ts";
10+
11+
const onEmbedPage = isEmbedPage($page);
812
</script>
913

1014
<CtaLayoutContainer>
@@ -15,6 +19,8 @@
1519
<CtaHeader variant="bold">
1620
Hang tight! We're deploying your project...
1721
</CtaHeader>
18-
<CtaNeedHelp />
22+
{#if !onEmbedPage}
23+
<CtaNeedHelp />
24+
{/if}
1925
</CtaContentContainer>
2026
</CtaLayoutContainer>

0 commit comments

Comments
 (0)