Fix card button text potentially showing as undefined
This commit is contained in:
parent
aa56d6fd63
commit
3e5980082f
|
@ -66,7 +66,7 @@
|
||||||
{/if}
|
{/if}
|
||||||
{#if showButton}
|
{#if showButton}
|
||||||
<div class="spectrum-Card-footer button-container">
|
<div class="spectrum-Card-footer button-container">
|
||||||
<Button on:click={buttonOnClick} secondary>{buttonText}</Button>
|
<Button on:click={buttonOnClick} secondary>{buttonText || ""}</Button>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue