Rename recipientId to contributorId in proposals
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import computed from 'ember-computed';
|
||||
import ethers from 'npm:ethers';
|
||||
|
||||
export default function(dependentKey, converterMethod) {
|
||||
return computed(dependentKey, {
|
||||
@@ -6,6 +7,7 @@ export default function(dependentKey, converterMethod) {
|
||||
return this.get(dependentKey)[converterMethod]();
|
||||
},
|
||||
set (key, value) {
|
||||
value = ethers.utils.bigNumberify(value);
|
||||
this.set(dependentKey, value);
|
||||
return value[converterMethod]();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user