mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
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:
parent
e84657192c
commit
476eea44df
3 changed files with 16 additions and 15 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue