Add dappreg link to apps list (#3568)

* Fix rendering when contract is empty

* Add registration dapp to app list
This commit is contained in:
Jaco Greeff
2016-11-25 16:46:57 +01:00
committed by GitHub
parent 08c507daaa
commit 6d6e942d9d
5 changed files with 25 additions and 4 deletions

View File

@@ -33,6 +33,10 @@ export default class Dapp extends Component {
? this.dappsStore.wipApp
: this.dappsStore.currentApp;
if (!app) {
return null;
}
return (
<div className={ styles.app }>
{ this.dappsStore.isNew ? this.renderOwnerSelect(app) : this.renderOwnerStatic(app) }