High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix: always show resolution in details panel (#21046)
Arthur Normandf343b0e58fdf
diff --git a/web/src/lib/components/asset-viewer/detail-panel.svelte b/web/src/lib/components/asset-viewer/detail-panel.svelteindex c6bf4759b6..d3f2c842bb 100644--- a/web/src/lib/components/asset-viewer/detail-panel.svelte+++ b/web/src/lib/components/asset-viewer/detail-panel.svelte@@ -415,9 +415,9 @@<p>{getMegapixel(asset.exifInfo.exifImageHeight, asset.exifInfo.exifImageWidth)} MP</p>- {@const { width, height } = getDimensions(asset.exifInfo)}- <p>{width} x {height}</p>{/if}+ {@const { width, height } = getDimensions(asset.exifInfo)}+ <p>{width} x {height}</p>{/if}{#if asset.exifInfo?.fileSizeInByte}<p>{getByteUnitString(asset.exifInfo.fileSizeInByte, $locale)}</p>