fix: update chevron icon to use Svelte 5 snippet syntax
- Replace slot="icon" with snippet syntax for dropdown chevron button - Fixes missing chevron icon in Media tab actions dropdown 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
aa3622d606
commit
82581f9496
1 changed files with 3 additions and 1 deletions
|
|
@ -383,7 +383,9 @@
|
||||||
<div class="actions-dropdown">
|
<div class="actions-dropdown">
|
||||||
<Button variant="primary" buttonSize="large" onclick={openUploadModal}>Upload</Button>
|
<Button variant="primary" buttonSize="large" onclick={openUploadModal}>Upload</Button>
|
||||||
<Button variant="ghost" iconOnly buttonSize="large" onclick={handleDropdownToggle}>
|
<Button variant="ghost" iconOnly buttonSize="large" onclick={handleDropdownToggle}>
|
||||||
<ChevronDown slot="icon" />
|
{#snippet icon()}
|
||||||
|
<ChevronDown />
|
||||||
|
{/snippet}
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
{#if isDropdownOpen}
|
{#if isDropdownOpen}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue