Remove color for order description

This commit is contained in:
ekzyis 2023-11-27 18:27:56 +01:00
parent 10eaecdf0d
commit 88db5f6ffb

View File

@ -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'