mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-06 12:01:41 +00:00
remove placeholders
This commit is contained in:
@@ -25,12 +25,7 @@ export function ApiImage(props: ApiImageProps) {
|
||||
return (
|
||||
<Stack>
|
||||
{imageUrl ? (
|
||||
<Image
|
||||
{...props}
|
||||
src={imageUrl}
|
||||
fit="contain"
|
||||
//fallbackSrc="https://placehold.co/600x400?text=Placeholder"
|
||||
/>
|
||||
<Image {...props} src={imageUrl} fit="contain" />
|
||||
) : (
|
||||
<Skeleton h={props?.h ?? props.w} w={props?.w ?? props.h} />
|
||||
)}
|
||||
|
@@ -44,7 +44,6 @@ export function Thumbnail({
|
||||
w={size}
|
||||
fit="contain"
|
||||
radius="xs"
|
||||
//fallbackSrc="https://placehold.co/600x400?text=Placeholder"
|
||||
style={{ maxHeight: size }}
|
||||
/>
|
||||
{inner}
|
||||
|
Reference in New Issue
Block a user