diff --git a/static/components/customer-orders/customer-orders.html b/static/components/customer-orders/customer-orders.html index d30138e..45dd671 100644 --- a/static/components/customer-orders/customer-orders.html +++ b/static/components/customer-orders/customer-orders.html @@ -5,12 +5,11 @@
- - + @@ -18,7 +17,7 @@ - + diff --git a/static/components/customer-orders/customer-orders.js b/static/components/customer-orders/customer-orders.js index 6c0b8b5..9668c21 100644 --- a/static/components/customer-orders/customer-orders.js +++ b/static/components/customer-orders/customer-orders.js @@ -11,7 +11,13 @@ async function customerOrders(path) { }, computed: { merchantOrders: function () { - return Object.keys(this.orders).map(pubkey => ({ pubkey, orders: this.orders[pubkey].map(this.enrichOrder) })) + return Object.keys(this.orders) + .map(pubkey => ({ + pubkey, + profile: this.merchantProfile(pubkey), + orders: this.orders[pubkey].map(this.enrichOrder) + } + )) } }, methods: {