Format AdminPage.vue with Prettier.
Some checks failed
CI / Lint, type check, unit tests, coverage (pull_request) Successful in 2m16s
CI / E2E browser tests (pull_request) Failing after 1m17s

No behavior change; satisfies frontend lint formatting.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Joakim Mörling 2026-05-27 18:53:33 +02:00
parent c578463b10
commit 623433ba4d

View file

@ -203,7 +203,11 @@ async function handleRegisterShipment(orderId: string) {
registeringId.value = orderId registeringId.value = orderId
try { try {
const updated = await registerShipment(orderId, trackingInput, notifyCustomer) const updated = await registerShipment(
orderId,
trackingInput,
notifyCustomer,
)
order.status = updated.status order.status = updated.status
order.trackingId = updated.trackingId order.trackingId = updated.trackingId
order.shippedAt = updated.shippedAt order.shippedAt = updated.shippedAt
@ -377,8 +381,7 @@ onUnmounted(() => {
<span <span
class="admin__expand-icon" class="admin__expand-icon"
:class="{ :class="{
'admin__expand-icon--open': 'admin__expand-icon--open': expandedOrderId === order.id,
expandedOrderId === order.id,
}" }"
aria-hidden="true" aria-hidden="true"
> >
@ -402,7 +405,9 @@ onUnmounted(() => {
</svg> </svg>
</span> </span>
</td> </td>
<td class="admin__td-date">{{ formatDate(order.createdAt) }}</td> <td class="admin__td-date">
{{ formatDate(order.createdAt) }}
</td>
<td class="admin__order-id" :title="order.id"> <td class="admin__order-id" :title="order.id">
{{ shortOrderId(order.id) }} {{ shortOrderId(order.id) }}
</td> </td>