mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-03 19:17:11 -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:
		
							parent
							
								
									735f8d661e
								
							
						
					
					
						commit
						b40963ec52
					
				@ -12,29 +12,30 @@
 | 
				
			|||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  const { album, sharedLink }: Props = $props();
 | 
					  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>
 | 
					</script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<div class="flex justify-between items-center">
 | 
					<div class="flex justify-between items-center">
 | 
				
			||||||
  <div class="flex flex-col gap-1">
 | 
					  <div class="flex flex-col gap-1">
 | 
				
			||||||
    <Text size="small">{sharedLink.description || album.albumName}</Text>
 | 
					    <Text size="small">{sharedLink.description || album.albumName}</Text>
 | 
				
			||||||
    <Text size="tiny" color="muted"
 | 
					    <Text size="tiny" color="muted">{getShareProperties()}</Text>
 | 
				
			||||||
      >{[
 | 
					 | 
				
			||||||
        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
 | 
					 | 
				
			||||||
    >
 | 
					 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
  <SharedLinkCopy link={sharedLink} />
 | 
					  <SharedLinkCopy link={sharedLink} />
 | 
				
			||||||
</div>
 | 
					</div>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user