Add mising imgages for local dapps (#2890)
This commit is contained in:
parent
215c82d744
commit
e449477f23
@ -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 }> </div>;
|
||||
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user