Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Load network dapps #3078

Merged
merged 9 commits into from
Nov 2, 2016
Merged

Load network dapps #3078

merged 9 commits into from
Nov 2, 2016

Conversation

jacogr
Copy link
Contributor

@jacogr jacogr commented Nov 1, 2016

@jacogr jacogr added A0-pleasereview 🤓 Pull request needs code review. M6-ui labels Nov 1, 2016
@gavofyork gavofyork added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Nov 2, 2016
@@ -38,7 +38,14 @@ export default class Summary extends Component {
return null;
}

const url = `/app/${app.builtin ? 'global' : 'local'}/${app.url || app.id}`;
let type = 'builtin';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why set it here if it will only become set to something else next?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Erk. Actually missing the built-in type determination, this and next comment. Silly me, only tested GAVcoin, half-assed job - this is a bug. Good catch.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed. Apps in installed in .pariyt/dapps, builtins & network apps now work as expected.

type = 'network';
} else {
type = 'local';
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let type = app.network ? 'network' : 'local';?

@gavofyork gavofyork merged commit 274b109 into master Nov 2, 2016
@gavofyork gavofyork deleted the jg-dapp-network branch November 2, 2016 10:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants