Skip to content

Commit

Permalink
fix(web): null location (immich-app#3906)
Browse files Browse the repository at this point in the history
  • Loading branch information
waclaw66 authored Aug 29, 2023
1 parent bcc36d1 commit 5b1ac27
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions web/src/lib/components/asset-viewer/detail-panel.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -242,12 +242,16 @@

<div>
<p>{asset.exifInfo.city}</p>
<div class="flex gap-2 text-sm">
<p>{asset.exifInfo.state}</p>
</div>
<div class="flex gap-2 text-sm">
<p>{asset.exifInfo.country}</p>
</div>
{#if asset.exifInfo?.state}
<div class="flex gap-2 text-sm">
<p>{asset.exifInfo.state}</p>
</div>
{/if}
{#if asset.exifInfo?.country}
<div class="flex gap-2 text-sm">
<p>{asset.exifInfo.country}</p>
</div>
{/if}
</div>
</div>
{/if}
Expand Down

0 comments on commit 5b1ac27

Please sign in to comment.