Replace missed profileHash with ipfsHash #36
@@ -14,8 +14,8 @@
|
||||
<td colspan="2">
|
||||
<ul>
|
||||
<li><a href="https://testnet.etherscan.io/address/{{contributor.address}}">Inspect Ethereum transactions</a></li>
|
||||
{{#if contributor.profileHash}}
|
||||
<li><a href="https://ipfs.io/ipfs/{{contributor.profileHash}}">Inspect IPFS profile</a></li>
|
||||
{{#if contributor.ipfsHash}}
|
||||
<li><a href="https://ipfs.io/ipfs/{{contributor.ipfsHash}}">Inspect IPFS profile</a></li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
{{#if contributor.showMetadata}}
|
||||
|
||||
@@ -2,17 +2,24 @@ import computed from 'ember-computed';
|
||||
import EmberObject from 'ember-object';
|
||||
|
||||
export default EmberObject.extend({
|
||||
// Contract
|
||||
id: null,
|
||||
// TODO: Should we rename it to account like in the contract?
|
||||
address: null,
|
||||
name: null,
|
||||
balance: 0,
|
||||
isCore: false,
|
||||
ipfsHash: null,
|
||||
|
||||
// IPFS
|
||||
kind: null,
|
||||
name: null,
|
||||
url: null,
|
||||
github_username: null,
|
||||
github_uid: null,
|
||||
wiki_username: null,
|
||||
profileHash: null,
|
||||
balance: 0,
|
||||
isCore: false,
|
||||
ipfsData: '',
|
||||
|
||||
// Deprecated
|
||||
isCurrentUser: false,
|
||||
|
||||
avatarURL: computed('github_uid', function() {
|
||||
|
||||
Reference in New Issue
Block a user