From 798b28999c016e567a0243fd13f2a730be177cbd Mon Sep 17 00:00:00 2001 From: ekzyis Date: Mon, 27 Nov 2023 01:12:54 +0100 Subject: [PATCH] Create OrderRow component --- vue/src/components/MarketOrders.vue | 14 +++++++------- vue/src/components/OrderRow.vue | 22 ++++++++++++++++++++++ vue/src/components/UserOrders.vue | 9 ++------- 3 files changed, 31 insertions(+), 14 deletions(-) create mode 100644 vue/src/components/OrderRow.vue diff --git a/vue/src/components/MarketOrders.vue b/vue/src/components/MarketOrders.vue index b0cbcff..73f2608 100644 --- a/vue/src/components/MarketOrders.vue +++ b/vue/src/components/MarketOrders.vue @@ -7,11 +7,7 @@ status - - {{ o.side }} {{ o.quantity }} {{ o.ShareDescription }} @ {{ o.price }} sats - {{ ago(new Date(o.CreatedAt)) }} - PENDING - + @@ -20,7 +16,7 @@ diff --git a/vue/src/components/OrderRow.vue b/vue/src/components/OrderRow.vue new file mode 100644 index 0000000..aae9b2d --- /dev/null +++ b/vue/src/components/OrderRow.vue @@ -0,0 +1,22 @@ + + + diff --git a/vue/src/components/UserOrders.vue b/vue/src/components/UserOrders.vue index ccc5f01..80ee0ec 100644 --- a/vue/src/components/UserOrders.vue +++ b/vue/src/components/UserOrders.vue @@ -8,12 +8,7 @@ status - - {{ o.MarketId }} - {{ o.side }} {{ o.quantity }} {{ o.ShareDescription }} @ {{ o.price }} sats - {{ ago(new Date(o.CreatedAt)) }} - - + @@ -21,7 +16,7 @@