diff --git a/src/components/shared/AssetGrid.tsx b/src/components/shared/AssetGrid.tsx index 9d205c4..f80ba87 100644 --- a/src/components/shared/AssetGrid.tsx +++ b/src/components/shared/AssetGrid.tsx @@ -176,16 +176,6 @@ const AssetGrid = forwardRef(({ assets, isInternal isSelected: selectedIds.includes(p.id), isVideo: p.type === "VIDEO", duration: p.duration != null ? String(p.duration) : undefined, - tags: [ - { - title: "Immich Link", - value: ( - - Open in Immich - - ), - }, - ], })); }, [assets, selectedIds, exImmichUrl]); @@ -310,8 +300,22 @@ const AssetGrid = forwardRef(({ assets, isInternal handleClick(index, photo, event)} - render={{ image: renderImage }} + render={{ + image: renderImage, + extras: (_, { photo }) => ( + e.stopPropagation()} + > + Open in Immich + + ), + }} /> );