Merge pull request #16429 from jameskaupert/feature/add_default_project_img
feat(challenges): Add default project image when none existspull/16447/head^2
commit
c27250eec1
|
@ -41,7 +41,7 @@ export class Project extends PureComponent {
|
|||
const {
|
||||
id,
|
||||
title,
|
||||
image,
|
||||
image = 'ovKSXMs',
|
||||
isCompleted,
|
||||
description
|
||||
} = this.props;
|
||||
|
@ -59,7 +59,7 @@ export class Project extends PureComponent {
|
|||
<Image
|
||||
id={ id }
|
||||
responsive={ true }
|
||||
src={ image ? imageURL : false }
|
||||
src={ imageURL }
|
||||
/>
|
||||
<br />
|
||||
<ToolPanel />
|
||||
|
|
Loading…
Reference in New Issue