mirror of
https://github.com/immich-app/immich.git
synced 2025-03-11 02:23:09 -05:00
chore(web): remove CircleIconButton slot (#9131)
This commit is contained in:
parent
2648032163
commit
13e093b3c2
2 changed files with 16 additions and 22 deletions
|
@ -38,5 +38,4 @@
|
||||||
on:click
|
on:click
|
||||||
>
|
>
|
||||||
<Icon path={icon} {size} ariaLabel={title} color="currentColor" />
|
<Icon path={icon} {size} ariaLabel={title} color="currentColor" />
|
||||||
<slot />
|
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -459,7 +459,7 @@
|
||||||
|
|
||||||
{#if isOwned}
|
{#if isOwned}
|
||||||
<div use:clickOutside on:outclick={() => (viewMode = ViewMode.VIEW)}>
|
<div use:clickOutside on:outclick={() => (viewMode = ViewMode.VIEW)}>
|
||||||
<CircleIconButton title="Album options" on:click={handleOpenAlbumOptions} icon={mdiDotsVertical}>
|
<CircleIconButton title="Album options" on:click={handleOpenAlbumOptions} icon={mdiDotsVertical} />
|
||||||
{#if viewMode === ViewMode.ALBUM_OPTIONS}
|
{#if viewMode === ViewMode.ALBUM_OPTIONS}
|
||||||
<ContextMenu {...contextMenuPosition}>
|
<ContextMenu {...contextMenuPosition}>
|
||||||
<MenuOption
|
<MenuOption
|
||||||
|
@ -467,11 +467,7 @@
|
||||||
text="Select album cover"
|
text="Select album cover"
|
||||||
on:click={() => (viewMode = ViewMode.SELECT_THUMBNAIL)}
|
on:click={() => (viewMode = ViewMode.SELECT_THUMBNAIL)}
|
||||||
/>
|
/>
|
||||||
<MenuOption
|
<MenuOption icon={mdiCogOutline} text="Options" on:click={() => (viewMode = ViewMode.OPTIONS)} />
|
||||||
icon={mdiCogOutline}
|
|
||||||
text="Options"
|
|
||||||
on:click={() => (viewMode = ViewMode.OPTIONS)}
|
|
||||||
/>
|
|
||||||
<MenuOption
|
<MenuOption
|
||||||
icon={mdiDeleteOutline}
|
icon={mdiDeleteOutline}
|
||||||
text="Delete album"
|
text="Delete album"
|
||||||
|
@ -479,7 +475,6 @@
|
||||||
/>
|
/>
|
||||||
</ContextMenu>
|
</ContextMenu>
|
||||||
{/if}
|
{/if}
|
||||||
</CircleIconButton>
|
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
|
|
Loading…
Add table
Reference in a new issue