From 21f187cac21937125df8e767fbde701d729ceb43 Mon Sep 17 00:00:00 2001 From: Manuel Wiedenmann Date: Sun, 8 Apr 2018 00:44:25 +0200 Subject: [PATCH] Replace missed profileHash with ipfsHash --- app/components/contributor-list/template.hbs | 4 ++-- app/models/contributor.js | 15 +++++++++++---- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/app/components/contributor-list/template.hbs b/app/components/contributor-list/template.hbs index a9fa6dc..93feeb3 100644 --- a/app/components/contributor-list/template.hbs +++ b/app/components/contributor-list/template.hbs @@ -14,8 +14,8 @@ {{#if contributor.showMetadata}} diff --git a/app/models/contributor.js b/app/models/contributor.js index cd793d3..1c3801a 100644 --- a/app/models/contributor.js +++ b/app/models/contributor.js @@ -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() {