Skip to content

Commit

Permalink
Merge pull request #9 from shefing/album
Browse files Browse the repository at this point in the history
href
  • Loading branch information
sarasla authored Nov 6, 2023
2 parents 2316322 + c07aebd commit e9ce968
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/src/routes/(user)/people/[personId]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -466,14 +466,15 @@
<div class="appersIn">Appears in:</div>
{#each albums as album}
<div class="marginRight">
<a href="/albums/{album.albumId}">
<img
class="h-[70px] w-[70px] rounded object-cover"
src={album.albumThumbnailAssetId &&
api.getAssetThumbnailUrl(album.albumThumbnailAssetId, ThumbnailFormat.Jpeg)}
draggable="false"
alt={album.albumName}
title={`${album.albumName} \n${album.assetCount} occurrence${album.assetCount > 1 ? 's' : ''}`}
/>
/></a>
</div>
{/each}
{/if}
Expand Down

0 comments on commit e9ce968

Please sign in to comment.