0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-04-01 02:51:27 -05:00

fix(web): Update shared link Exif capitalization to match existing capitalization (#16010)

Update shared link Exif capitalization to match existing capitalization
This commit is contained in:
Snowknight26 2025-02-10 18:00:37 -06:00 committed by GitHub
parent 735f8d661e
commit b40963ec52
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,29 +12,30 @@
};
const { album, sharedLink }: Props = $props();
const getShareProperties = () =>
[
DateTime.fromISO(sharedLink.createdAt).toLocaleString(
{
month: 'long',
day: 'numeric',
year: 'numeric',
},
{ locale: $locale },
),
sharedLink.allowUpload && $t('upload'),
sharedLink.allowDownload && $t('download'),
sharedLink.showMetadata && $t('exif').toUpperCase(),
sharedLink.password && $t('password'),
]
.filter(Boolean)
.join(' • ');
</script>
<div class="flex justify-between items-center">
<div class="flex flex-col gap-1">
<Text size="small">{sharedLink.description || album.albumName}</Text>
<Text size="tiny" color="muted"
>{[
DateTime.fromISO(sharedLink.createdAt).toLocaleString(
{
month: 'long',
day: 'numeric',
year: 'numeric',
},
{ locale: $locale },
),
sharedLink.allowUpload && $t('upload'),
sharedLink.allowDownload && $t('download'),
sharedLink.showMetadata && $t('exif'),
sharedLink.password && $t('password'),
]
.filter(Boolean)
.join(' • ')}</Text
>
<Text size="tiny" color="muted">{getShareProperties()}</Text>
</div>
<SharedLinkCopy link={sharedLink} />
</div>