chore(web): remove thumbnail usage for places card (#10142)

* chore(web): remove thumbnail usage for places

* remove href attribute from Thumbnail

* linting
This commit is contained in:
Alex 2024-06-12 06:12:58 -05:00 committed by GitHub
parent e84657192c
commit 476eea44df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 16 additions and 15 deletions

View file

@ -40,7 +40,6 @@
export let readonly = false;
export let showArchiveIcon = false;
export let showStackedIcon = true;
export let href: string | undefined = undefined;
export let onClick: ((asset: AssetResponseDto, event: Event) => void) | undefined = undefined;
let className = '';
@ -94,7 +93,7 @@
<IntersectionObserver once={false} on:intersected let:intersecting>
<a
href={href ?? currentUrlReplaceAssetId(asset.id)}
href={currentUrlReplaceAssetId(asset.id)}
style:width="{width}px"
style:height="{height}px"
class="group focus-visible:outline-none flex overflow-hidden {disabled