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:
2019-04-03 19:02:05 +02:00
committed by GitHub
+1 -3
View File
@@ -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() {