mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix: hide album context menu (#2543)
This commit is contained in:
parent
50a792a81a
commit
c2145cbe11
1 changed files with 8 additions and 10 deletions
|
|
@ -405,7 +405,7 @@
|
||||||
/>
|
/>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{#if !isPublicShared}
|
{#if !isPublicShared && isOwned}
|
||||||
<div use:clickOutside on:outclick={() => (isShowAlbumOptions = false)}>
|
<div use:clickOutside on:outclick={() => (isShowAlbumOptions = false)}>
|
||||||
<CircleIconButton
|
<CircleIconButton
|
||||||
title="Album options"
|
title="Album options"
|
||||||
|
|
@ -413,7 +413,6 @@
|
||||||
logo={DotsVertical}
|
logo={DotsVertical}
|
||||||
>{#if isShowAlbumOptions}
|
>{#if isShowAlbumOptions}
|
||||||
<ContextMenu {...contextMenuPosition}>
|
<ContextMenu {...contextMenuPosition}>
|
||||||
{#if isOwned}
|
|
||||||
<MenuOption
|
<MenuOption
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
isShowThumbnailSelection = true;
|
isShowThumbnailSelection = true;
|
||||||
|
|
@ -421,7 +420,6 @@
|
||||||
}}
|
}}
|
||||||
text="Set album cover"
|
text="Set album cover"
|
||||||
/>
|
/>
|
||||||
{/if}
|
|
||||||
</ContextMenu>
|
</ContextMenu>
|
||||||
{/if}
|
{/if}
|
||||||
</CircleIconButton>
|
</CircleIconButton>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue