Merge pull request #93 from 67P/fix/contributor-list-on-proposals
Remove default contributors value in propsal component
This commit was merged in pull request #93.
This commit is contained in:
@@ -5,7 +5,7 @@ import { and, notEmpty } from '@ember/object/computed';
|
||||
export default Component.extend({
|
||||
|
||||
attributes: null,
|
||||
contributors: null,
|
||||
contributors: Object.freeze([]),
|
||||
|
||||
isValidContributor: notEmpty('contributorId'),
|
||||
isValidAmount: computed('amount', function() {
|
||||
@@ -28,8 +28,6 @@ export default Component.extend({
|
||||
description: null,
|
||||
url: null,
|
||||
});
|
||||
|
||||
this.set('contributors', []);
|
||||
},
|
||||
|
||||
didInsertElement() {
|
||||
|
||||
Reference in New Issue
Block a user