feat: show asset owners for editors in shared albums (#24890)

This commit is contained in:
Ahmed Mahmoud Aref 2026-01-05 13:31:23 +02:00 committed by GitHub
parent 86e5c611ec
commit 8e8a2f997e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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}