Display fallback link card thumbnail when none is given (#9715)
This commit is contained in:
parent
acae118120
commit
1512af2811
2 changed files with 15 additions and 0 deletions
|
@ -195,6 +195,12 @@ export default class Card extends React.PureComponent {
|
|||
{thumbnail}
|
||||
</div>
|
||||
);
|
||||
} else {
|
||||
embed = (
|
||||
<div className='status-card__image'>
|
||||
<i className='fa fa-file-text' />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue