stop multiple creates on save record

This commit is contained in:
Michael Shanks 2020-10-16 22:46:15 +01:00
parent 143177a0d5
commit 5578e48f34
1 changed files with 1 additions and 1 deletions

View File

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