mirror of
https://github.com/immich-app/immich.git
synced 2026-02-04 08:49:01 +03:00
feat: show asset owners for editors in shared albums (#24890)
This commit is contained in:
committed by
GitHub
parent
86e5c611ec
commit
8e8a2f997e
@@ -652,7 +652,7 @@
|
||||
/>
|
||||
{/if}
|
||||
|
||||
{#if isOwned}
|
||||
{#if isOwned || containsEditors}
|
||||
<ButtonContextMenu
|
||||
icon={mdiDotsVertical}
|
||||
title={$t('album_options')}
|
||||
@@ -666,7 +666,7 @@
|
||||
onClick={() => timelineManager.toggleShowAssetOwners()}
|
||||
/>
|
||||
{/if}
|
||||
{#if album.assetCount > 0}
|
||||
{#if isOwned && album.assetCount > 0}
|
||||
<MenuOption
|
||||
icon={mdiImageOutline}
|
||||
text={$t('select_album_cover')}
|
||||
@@ -675,11 +675,13 @@
|
||||
<MenuOption icon={mdiCogOutline} text={$t('options')} onClick={handleOptions} />
|
||||
{/if}
|
||||
|
||||
<MenuOption
|
||||
icon={mdiDeleteOutline}
|
||||
text={$t('delete_album')}
|
||||
onClick={() => handleDeleteAlbum(album)}
|
||||
/>
|
||||
{#if isOwned}
|
||||
<MenuOption
|
||||
icon={mdiDeleteOutline}
|
||||
text={$t('delete_album')}
|
||||
onClick={() => handleDeleteAlbum(album)}
|
||||
/>
|
||||
{/if}
|
||||
</ButtonContextMenu>
|
||||
{/if}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user