mirror of
https://github.com/immich-app/immich.git
synced 2026-09-30 13:23:21 +08:00
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:
co-authored by
Jithendra Bathala
parent
82912734f6
commit
65a9b4e5fb
@@ -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",
|
||||
|
||||
+1
-1
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user