Fix card button text potentially showing as undefined
This commit is contained in:
parent
a7849eac7d
commit
37c2690a31
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue