Add empty array as default for contributors list
This commit is contained in:
1 parent
bd2a640be0
commit
3dbcba5eb2
1 file changed
+1
-1
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user