1
0
mirror of https://github.com/immich-app/immich.git synced 2025-01-12 15:32:36 +02:00

fix: invert asset path link nesting (#15163)

This commit is contained in:
bo0tzz 2025-01-08 14:52:59 +01:00 committed by GitHub
parent c5baf79f61
commit 4aabbec742
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -377,14 +377,14 @@
{/if}
</p>
{#if showAssetPath}
<a href={getAssetFolderHref(asset)} title={$t('go_to_folder')}>
<p
class="text-xs opacity-50 break-all pb-2 hover:dark:text-immich-dark-primary hover:text-immich-primary"
transition:slide={{ duration: 250 }}
>
<p
class="text-xs opacity-50 break-all pb-2 hover:dark:text-immich-dark-primary hover:text-immich-primary"
transition:slide={{ duration: 250 }}
>
<a href={getAssetFolderHref(asset)} title={$t('go_to_folder')}>
{asset.originalPath}
</p>
</a>
</a>
</p>
{/if}
{#if (asset.exifInfo?.exifImageHeight && asset.exifInfo?.exifImageWidth) || asset.exifInfo?.fileSizeInByte}
<div class="flex gap-2 text-sm">