Add mising imgages for local dapps (#2890)

This commit is contained in:
Jaco Greeff 2016-10-26 17:04:48 +02:00 committed by Gav Wood
parent 215c82d744
commit e449477f23

View File

@ -39,8 +39,8 @@ export default class Summary extends Component {
}
const url = `/app/${app.builtin ? 'global' : 'local'}/${app.url || app.id}`;
const image = app.image
? <img src={ app.image } className={ styles.image } />
const image = app.image || app.iconUrl
? <img src={ app.image || `http://127.0.0.1:8080/${app.id}/${app.iconUrl}` } className={ styles.image } />
: <div className={ styles.image }>&nbsp;</div>;
return (