1
0
Fork 0
mirror of synced 2024-10-01 01:28:51 +13: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 a7849eac7d
commit 37c2690a31

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>