stop multiple creates on save record

This commit is contained in:
Michael Shanks 2020-10-16 22:46:15 +01:00
parent 45322846c0
commit 8b51742901
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@
bind:this={theButton}
class="default"
disabled={disabled || false}
on:click={clickHandler}>
on:click|once={clickHandler}>
{#if !_bb.props._children || _bb.props._children.length === 0}{text}{/if}
</button>