Remove color for order description
This commit is contained in:
parent
10eaecdf0d
commit
88db5f6ffb
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<tr>
|
||||
<td v-if="order.MarketId"><router-link :to="/market/ + order.MarketId">{{ order.MarketId }}</router-link></td>
|
||||
<td :class="descClassName">{{ order.side }} {{ order.quantity }} {{ order.ShareDescription }} @ {{ order.price }} sats
|
||||
<td>{{ order.side }} {{ order.quantity }} {{ order.ShareDescription }} @ {{ order.price }} sats
|
||||
</td>
|
||||
<td :title="order.CreatedAt" class="hidden-sm">{{ ago(new Date(order.CreatedAt)) }}</td>
|
||||
<td :class="'font-mono ' + statusClassName">{{ order.Status }}</td>
|
||||
@ -16,10 +16,6 @@ const props = defineProps(['order'])
|
||||
|
||||
const order = ref(props.order)
|
||||
|
||||
const descClassName = computed(() => {
|
||||
return order.value.side === 'BUY' ? 'success' : 'error'
|
||||
})
|
||||
|
||||
const statusClassName = computed(() => {
|
||||
const status = order.value.Status
|
||||
if (status === 'PAID') return 'success'
|
||||
|
Loading…
x
Reference in New Issue
Block a user