2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-07 04:12:11 +00:00

remove placeholders

This commit is contained in:
Matthias Mair
2024-05-01 15:55:00 +02:00
parent 6332de8d70
commit a409cfd75a
2 changed files with 1 additions and 7 deletions

View File

@@ -25,12 +25,7 @@ export function ApiImage(props: ApiImageProps) {
return ( return (
<Stack> <Stack>
{imageUrl ? ( {imageUrl ? (
<Image <Image {...props} src={imageUrl} fit="contain" />
{...props}
src={imageUrl}
fit="contain"
//fallbackSrc="https://placehold.co/600x400?text=Placeholder"
/>
) : ( ) : (
<Skeleton h={props?.h ?? props.w} w={props?.w ?? props.h} /> <Skeleton h={props?.h ?? props.w} w={props?.w ?? props.h} />
)} )}

View File

@@ -44,7 +44,6 @@ export function Thumbnail({
w={size} w={size}
fit="contain" fit="contain"
radius="xs" radius="xs"
//fallbackSrc="https://placehold.co/600x400?text=Placeholder"
style={{ maxHeight: size }} style={{ maxHeight: size }}
/> />
{inner} {inner}