Skip to content

Commit

Permalink
fix xlot propagation
Browse files Browse the repository at this point in the history
  • Loading branch information
camdencheek committed May 29, 2024
1 parent a22641e commit 00ef510
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,15 @@
{#each limitedItems as item}
<li>
<slot name="item" {item}>
<SectionItem {item} {onFilterSelect}>
<slot name="label" slot="label" let:label let:value {label} {value} />
</SectionItem>
{#if $$slots.label}
<SectionItem {item} {onFilterSelect}>
<svelte:fragment slot="label" let:label let:value>
<slot name="label" {label} {value} />
</svelte:fragment>
</SectionItem>
{:else}
<SectionItem {item} {onFilterSelect} />
{/if}
</slot>
</li>
{/each}
Expand Down

0 comments on commit 00ef510

Please sign in to comment.