diff --git a/frontend/src/pages/AdminPage.vue b/frontend/src/pages/AdminPage.vue index abd8a23..7c9980e 100644 --- a/frontend/src/pages/AdminPage.vue +++ b/frontend/src/pages/AdminPage.vue @@ -203,7 +203,11 @@ async function handleRegisterShipment(orderId: string) { registeringId.value = orderId try { - const updated = await registerShipment(orderId, trackingInput, notifyCustomer) + const updated = await registerShipment( + orderId, + trackingInput, + notifyCustomer, + ) order.status = updated.status order.trackingId = updated.trackingId order.shippedAt = updated.shippedAt @@ -377,8 +381,7 @@ onUnmounted(() => { - {{ formatDate(order.createdAt) }} + + {{ formatDate(order.createdAt) }} + {{ shortOrderId(order.id) }}