Skip to content

Commit

Permalink
Only allow embed configuration when you own the project
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgan Brown committed Nov 5, 2024
1 parent 667e84d commit ca9259c
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -424,12 +424,14 @@
</a>
{/if}
</div>
<AnnotationBox type="info">
Embed a support button on your website.
<svelte:fragment slot="actions">
<Button icon={Settings} on:click={handleClick}>Configure</Button>
</svelte:fragment>
</AnnotationBox>
{#if isOwnProject}
<AnnotationBox type="info">
Embed a support button on your website.
<svelte:fragment slot="actions">
<Button icon={Settings} on:click={handleClick}>Configure</Button>
</svelte:fragment>
</AnnotationBox>
{/if}
{/if}
</header>
<div class="content">
Expand Down

0 comments on commit ca9259c

Please sign in to comment.