Remove default contributors value in propsal component #93

Merged
bumi merged 2 commits from fix/contributor-list-on-proposals into master 2019-04-03 17:02:06 +00:00
+1 -3
View File
@@ -5,7 +5,7 @@ import { and, notEmpty } from '@ember/object/computed';
export default Component.extend({ export default Component.extend({
attributes: null, attributes: null,
contributors: null, contributors: Object.freeze([]),
isValidContributor: notEmpty('contributorId'), isValidContributor: notEmpty('contributorId'),
isValidAmount: computed('amount', function() { isValidAmount: computed('amount', function() {
@@ -28,8 +28,6 @@ export default Component.extend({
description: null, description: null,
url: null, url: null,
}); });
this.set('contributors', []);
}, },
didInsertElement() { didInsertElement() {