market order validity fix
This commit is contained in:
@@ -79,7 +79,7 @@ function build(order, component, options={}) {
|
||||
|
||||
// check order validity
|
||||
watchEffect(()=>{
|
||||
let valid = props.order.amount
|
||||
let valid = props.order.amount > 0
|
||||
if (valid) {
|
||||
for (const builder of builders.value) {
|
||||
if (!builder.valid) {
|
||||
|
||||
Reference in New Issue
Block a user