Format AdminPage.vue with Prettier.
No behavior change; satisfies frontend lint formatting. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
c578463b10
commit
623433ba4d
1 changed files with 9 additions and 4 deletions
|
|
@ -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(() => {
|
|||
<span
|
||||
class="admin__expand-icon"
|
||||
:class="{
|
||||
'admin__expand-icon--open':
|
||||
expandedOrderId === order.id,
|
||||
'admin__expand-icon--open': expandedOrderId === order.id,
|
||||
}"
|
||||
aria-hidden="true"
|
||||
>
|
||||
|
|
@ -402,7 +405,9 @@ onUnmounted(() => {
|
|||
</svg>
|
||||
</span>
|
||||
</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">
|
||||
{{ shortOrderId(order.id) }}
|
||||
</td>
|
||||
|
|
|
|||
Loading…
Reference in a new issue