Merge branch 'Bug/129-convert_amount_JS_error' into 'master'

fix: [FE] emit updateCalculation method with total -1 when amount less than...

See merge request CIEFWorldwideSdnBhd/exchange-2.0!30
This commit is contained in:
omair saleh
2021-04-03 03:52:10 +00:00
@@ -275,7 +275,9 @@
this.isloading = false;
},
errorHandler(error){
this.$emit('newCalculation', {});
this.$emit('newCalculation', {
calculation: -1
});
this.error = error.message;
this.loading = false;
}