diff --git a/vue/src/components/MarketOrders.vue b/vue/src/components/MarketOrders.vue index 5b33714..0988e73 100644 --- a/vue/src/components/MarketOrders.vue +++ b/vue/src/components/MarketOrders.vue @@ -39,7 +39,7 @@ const url = `/api/market/${marketId}/orders` await fetch(url) .then(r => r.json()) .then(body => { - orders.value = body.map(o => { + orders.value = body?.map(o => { // remove market column delete o.MarketId return o