mirror of
https://github.com/samsonjs/immich.git
synced 2026-04-27 15:07:45 +00:00
feat: show asset owners for editors in shared albums (#24890)
This commit is contained in:
parent
86e5c611ec
commit
8e8a2f997e
1 changed files with 9 additions and 7 deletions
|
|
@ -652,7 +652,7 @@
|
||||||
/>
|
/>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{#if isOwned}
|
{#if isOwned || containsEditors}
|
||||||
<ButtonContextMenu
|
<ButtonContextMenu
|
||||||
icon={mdiDotsVertical}
|
icon={mdiDotsVertical}
|
||||||
title={$t('album_options')}
|
title={$t('album_options')}
|
||||||
|
|
@ -666,7 +666,7 @@
|
||||||
onClick={() => timelineManager.toggleShowAssetOwners()}
|
onClick={() => timelineManager.toggleShowAssetOwners()}
|
||||||
/>
|
/>
|
||||||
{/if}
|
{/if}
|
||||||
{#if album.assetCount > 0}
|
{#if isOwned && album.assetCount > 0}
|
||||||
<MenuOption
|
<MenuOption
|
||||||
icon={mdiImageOutline}
|
icon={mdiImageOutline}
|
||||||
text={$t('select_album_cover')}
|
text={$t('select_album_cover')}
|
||||||
|
|
@ -675,11 +675,13 @@
|
||||||
<MenuOption icon={mdiCogOutline} text={$t('options')} onClick={handleOptions} />
|
<MenuOption icon={mdiCogOutline} text={$t('options')} onClick={handleOptions} />
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<MenuOption
|
{#if isOwned}
|
||||||
icon={mdiDeleteOutline}
|
<MenuOption
|
||||||
text={$t('delete_album')}
|
icon={mdiDeleteOutline}
|
||||||
onClick={() => handleDeleteAlbum(album)}
|
text={$t('delete_album')}
|
||||||
/>
|
onClick={() => handleDeleteAlbum(album)}
|
||||||
|
/>
|
||||||
|
{/if}
|
||||||
</ButtonContextMenu>
|
</ButtonContextMenu>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue