delete orderFuncs[lastId])
const theme = useTheme().current
const color = computed(()=>new Color(props.order.buy?theme.value.colors.success:theme.value.colors.error).darken(0.2).string())
-const lightColor = computed(() => lightenColor(color.value))
-const faintColor = computed(() => lightenColor2(color.value))
-const colorStyle = computed(() => { return {'color': color.value} })
-const bgColorStyle = computed(() => { return {'background-color': color.value} })
-const lightColorStyle = computed(() => { return {'background-color': lightColor.value} })
-const faintColorStyle = computed(() => { return {'background-color': faintColor.value} })
+// const lightColor = computed(() => lightenColor(color.value))
+// const faintColor = computed(() => lightenColor2(color.value))
+// const colorStyle = computed(() => { return {'color': color.value} })
+// const bgColorStyle = computed(() => { return {'background-color': color.value} })
+// const lightColorStyle = computed(() => { return {'background-color': lightColor.value} })
+// const faintColorStyle = computed(() => { return {'background-color': faintColor.value} })
const inToken = computed( ()=>props.order.buy ? co.quoteToken : co.baseToken )
const maxAmount = computed(()=>{
diff --git a/src/components/chart/ChartPlaceOrder.vue b/src/components/chart/ChartPlaceOrder.vue
index 5cc4f23..a9622a9 100644
--- a/src/components/chart/ChartPlaceOrder.vue
+++ b/src/components/chart/ChartPlaceOrder.vue
@@ -9,20 +9,22 @@
Reset
-
-
-
-
-
-
-
-
- showResetDialog=false">Keep Existing
- {co.resetOrders(); showResetDialog=false}" color="red" text="Reset Order"/>
-
-
-
-
+
+
+
+
+
+
+
+
+
+ showResetDialog=false">Keep Existing
+ {co.resetOrders(); showResetDialog=false}" color="red" text="Reset Order"/>
+
+
+
+
+
@@ -63,7 +65,7 @@ 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)
+ if (!s.approved)
return false
if (co.drawing)
return false
@@ -127,7 +129,7 @@ async function placeOrder() {
-