mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-07 04:12:11 +00:00
remove placeholders
This commit is contained in:
@@ -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} />
|
||||||
)}
|
)}
|
||||||
|
@@ -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}
|
||||||
|
Reference in New Issue
Block a user