Skip to content

High performance self-hosted photo and video management solution.

fix: invert asset path link nesting (#15163)

bo0tzz4aabbec74250
diff --git a/web/src/lib/components/asset-viewer/detail-panel.svelte b/web/src/lib/components/asset-viewer/detail-panel.svelte
index 3b38734897..11425067f5 100644
--- a/web/src/lib/components/asset-viewer/detail-panel.svelte
+++ b/web/src/lib/components/asset-viewer/detail-panel.svelte
@@ -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">