feat(challenges): Add default project image when none exists
BREAKING CHANGE: none Closes #16426
This commit is contained in:
@ -41,7 +41,7 @@ export class Project extends PureComponent {
|
|||||||
const {
|
const {
|
||||||
id,
|
id,
|
||||||
title,
|
title,
|
||||||
image,
|
image = 'ovKSXMs',
|
||||||
isCompleted,
|
isCompleted,
|
||||||
description
|
description
|
||||||
} = this.props;
|
} = this.props;
|
||||||
@ -59,7 +59,7 @@ export class Project extends PureComponent {
|
|||||||
<Image
|
<Image
|
||||||
id={ id }
|
id={ id }
|
||||||
responsive={ true }
|
responsive={ true }
|
||||||
src={ image ? imageURL : false }
|
src={ imageURL }
|
||||||
/>
|
/>
|
||||||
<br />
|
<br />
|
||||||
<ToolPanel />
|
<ToolPanel />
|
||||||
|
Reference in New Issue
Block a user