1
0
Fork 0
mirror of synced 2024-06-29 11:31:06 +12:00

Fix card button text potentially showing as undefined

This commit is contained in:
Andrew Kingston 2021-11-08 14:51:13 +00:00
parent aa56d6fd63
commit 3e5980082f

View file

@ -66,7 +66,7 @@
{/if}
{#if showButton}
<div class="spectrum-Card-footer button-container">
<Button on:click={buttonOnClick} secondary>{buttonText}</Button>
<Button on:click={buttonOnClick} secondary>{buttonText || ""}</Button>
</div>
{/if}
</div>