Minimal validation for amount
This commit is contained in:
@@ -20,8 +20,7 @@ export default Component.extend({
|
|||||||
}),
|
}),
|
||||||
|
|
||||||
isValidAmount: computed('proposal.amount', function() {
|
isValidAmount: computed('proposal.amount', function() {
|
||||||
// TODO
|
return parseInt(this.get('proposal.amount')) > 0;
|
||||||
return true;
|
|
||||||
}),
|
}),
|
||||||
|
|
||||||
isValidUrl: computed('proposal.url', function() {
|
isValidUrl: computed('proposal.url', function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user