Skip to content

Commit

Permalink
fix(#1592): hide accordion secondary text if property is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
bdfranck authored and ArakTaiRoth committed Apr 11, 2024
1 parent 1da7466 commit b690488
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@
class="heading heading-{headingsize}"
data-testid={`${testid}-heading`}>{heading}</span
>
<span class="secondary-text">{secondarytext}</span>
{#if secondarytext}
<span class="secondary-text">{secondarytext}</span>
{/if}
<div
class="heading-content"
class:heading-content-top={_headingContentSlotChildren.length}
Expand Down

0 comments on commit b690488

Please sign in to comment.