disable Place Order if disallowed
This commit is contained in:
@@ -62,6 +62,8 @@ const theme = useTheme().current
|
||||
const orderColor = computed(()=>co.orders.length===0?null : co.orders[0].buy ? theme.value.colors.success:theme.value.colors.error)
|
||||
|
||||
const valid = computed(()=>{
|
||||
if (!s.allowed)
|
||||
return false
|
||||
if (co.drawing)
|
||||
return false
|
||||
for ( const order of co.orders )
|
||||
|
||||
Reference in New Issue
Block a user