fix(web): change "View asset owners" to "Hide asset owners" when enabled (#31460)

fix(web): change "View asset owners" to "Hide asset owners" when enabled (#31393)

Update the shared album options menu to display "Hide asset owners" when asset owners are currently visible, and "View asset owners" when hidden.

Fixes #31369

(cherry picked from commit f0b12b9bd2)

Co-authored-by: Jithendra Bathala <67468309+jithendrabathala@users.noreply.github.com>
This commit is contained in:
immich-push-o-matic[bot]
2026-09-11 18:20:03 +00:00
committed by GitHub
co-authored by Jithendra Bathala
parent 82912734f6
commit 65a9b4e5fb
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -1201,6 +1201,7 @@
"height": "Height",
"hi_user": "Hi {name} ({email})",
"hide_all_people": "Hide all people",
"hide_asset_owners": "Hide asset owners",
"hide_gallery": "Hide gallery",
"hide_named_person": "Hide person {name}",
"hide_password": "Hide password",
@@ -565,7 +565,7 @@
{#if containsEditors}
<MenuOption
icon={showAlbumUsers ? mdiAccountEye : mdiAccountEyeOutline}
text={$t('view_asset_owners')}
text={showAlbumUsers ? $t('hide_asset_owners') : $t('view_asset_owners')}
onClick={() => timelineManager.toggleShowAssetOwners()}
/>
{/if}