allow setting price in forcebuy form

This commit is contained in:
Matthias 2020-05-17 07:23:53 +02:00
parent d7fffcd791
commit 7793faa798

View File

@ -77,7 +77,7 @@ export default {
// call forcebuy
const payload = { pair: this.pair };
if (this.price) {
payload.price = this.price;
payload.price = Number(this.price);
}
this.forcebuy(payload);
this.$nextTick(() => {