mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 03:26:36 +00:00
fix(modal): do not render secondary button if secondaryButtonText is falsy
This commit is contained in:
parent
28e1c82851
commit
381e8aa4a8
2 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@
|
|||
{button.text}
|
||||
</Button>
|
||||
{/each}
|
||||
{:else}
|
||||
{:else if secondaryButtonText}
|
||||
<Button
|
||||
kind="secondary"
|
||||
class="{secondaryClass}"
|
||||
|
|
|
@ -280,7 +280,7 @@
|
|||
{button.text}
|
||||
</Button>
|
||||
{/each}
|
||||
{:else}
|
||||
{:else if secondaryButtonText}
|
||||
<Button
|
||||
kind="secondary"
|
||||
on:click="{() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue