This commit is contained in:
mike12345567 2020-10-22 17:49:30 +01:00
parent 0d8ec8e03a
commit 653fb16c86
1 changed files with 8 additions and 3 deletions

View File

@ -81,9 +81,14 @@
<RowSelector bind:value={block.inputs[key]} {bindings} />
{:else if value.customType === 'webhookUrl'}
<div class="copy-area">
<Input disabled="true" thin value={fullWebhookURL(block.inputs[key])} />
<span class="copy-btn" on:click={() => copyToClipboard(fullWebhookURL(block.inputs[key]))}>
<i class="ri-clipboard-line copy-icon"></i>
<Input
disabled="true"
thin
value={fullWebhookURL(block.inputs[key])} />
<span
class="copy-btn"
on:click={() => copyToClipboard(fullWebhookURL(block.inputs[key]))}>
<i class="ri-clipboard-line copy-icon" />
</span>
</div>
{:else if value.type === 'string' || value.type === 'number'}