hide pending images on channel page
This commit is contained in:
parent
cdbd5eee80
commit
d05cf1e71e
1 changed files with 3 additions and 0 deletions
|
@ -17,6 +17,9 @@ const AssetPreview = ({ defaultThumbnail, claimData }) => {
|
||||||
case 'image/jpg':
|
case 'image/jpg':
|
||||||
case 'image/png':
|
case 'image/png':
|
||||||
case 'image/gif':
|
case 'image/gif':
|
||||||
|
if (pending) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
return (
|
return (
|
||||||
<Link to={showUrl} className='asset-preview'>
|
<Link to={showUrl} className='asset-preview'>
|
||||||
<div>
|
<div>
|
||||||
|
|
Loading…
Reference in a new issue