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