From 3571cc633eb9a87cfed9d68bb5d34695f7642666 Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Thu, 8 Jun 2017 16:41:03 +0200 Subject: [PATCH] Improve computed-property dependency --- app/components/add-contributor/component.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/add-contributor/component.js b/app/components/add-contributor/component.js index cd2bdca..95ee3be 100644 --- a/app/components/add-contributor/component.js +++ b/app/components/add-contributor/component.js @@ -18,9 +18,9 @@ export default Component.extend({ inProgress: false, isValidAddress: function() { - return this.get('kredits.web3Instance') + return this.get('kredits.web3') .isAddress(this.get('newContributor.address')); - }.property('newContributor.address'), + }.property('kredits.web3', 'newContributor.address'), isValidName: function() { return isPresent(this.get('newContributor.name'));