mirror of
https://github.com/immich-app/immich.git
synced 2024-12-25 10:43:13 +02:00
fix: hide album context menu (#2543)
This commit is contained in:
parent
50a792a81a
commit
c2145cbe11
@ -405,7 +405,7 @@
|
||||
/>
|
||||
{/if}
|
||||
|
||||
{#if !isPublicShared}
|
||||
{#if !isPublicShared && isOwned}
|
||||
<div use:clickOutside on:outclick={() => (isShowAlbumOptions = false)}>
|
||||
<CircleIconButton
|
||||
title="Album options"
|
||||
@ -413,7 +413,6 @@
|
||||
logo={DotsVertical}
|
||||
>{#if isShowAlbumOptions}
|
||||
<ContextMenu {...contextMenuPosition}>
|
||||
{#if isOwned}
|
||||
<MenuOption
|
||||
on:click={() => {
|
||||
isShowThumbnailSelection = true;
|
||||
@ -421,7 +420,6 @@
|
||||
}}
|
||||
text="Set album cover"
|
||||
/>
|
||||
{/if}
|
||||
</ContextMenu>
|
||||
{/if}
|
||||
</CircleIconButton>
|
||||
|
Loading…
Reference in New Issue
Block a user