0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-21 00:52:43 -05:00

fix(web): fallback aperture info when there is no locale set (#11770)

* fix(web): fallback aperture info when there is no locale set

* pr feedback
This commit is contained in:
Alex 2024-08-14 08:52:44 -05:00 committed by GitHub
parent e934e368b3
commit 593f036c0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -384,7 +384,7 @@
<p>{asset.exifInfo.make || ''} {asset.exifInfo.model || ''}</p> <p>{asset.exifInfo.make || ''} {asset.exifInfo.model || ''}</p>
<div class="flex gap-2 text-sm"> <div class="flex gap-2 text-sm">
{#if asset.exifInfo?.fNumber} {#if asset.exifInfo?.fNumber}
<p>{$locale ? `ƒ/${asset.exifInfo.fNumber.toLocaleString($locale)}` : ''}</p> <p>ƒ/{asset.exifInfo.fNumber.toLocaleString($locale)}</p>
{/if} {/if}
{#if asset.exifInfo.exposureTime} {#if asset.exifInfo.exposureTime}