Adding an empty state for the webhook deployment modal.

This commit is contained in:
mike12345567 2020-10-27 09:44:29 +00:00
parent 12e4ec2e99
commit d1539ecc8c
1 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,9 @@
<WebhookDisplay value={webhookUrl.url} production={true} /> <WebhookDisplay value={webhookUrl.url} production={true} />
</div> </div>
{/each} {/each}
{#if webhookUrls.length === 0}
<h5>No webhooks found.</h5>
{/if}
<div slot="footer"> <div slot="footer">
<a target="_blank" href="https://docs.budibase.com/automate/steps/triggers"> <a target="_blank" href="https://docs.budibase.com/automate/steps/triggers">
<i class="ri-information-line" /> <i class="ri-information-line" />