Fix status type check in CheckManagementView

This commit is contained in:
2026-11-08 12:04:12 +03:30
parent 93d677fa9d
commit 0aec0d26a3
+1 -1
View File
@@ -41,7 +41,7 @@ const allChecksApproved = computed(
const canFinalApprove = computed(() => {
if (!allChecksApproved.value || !order.value) return false
const status = order.value.status
const status = (displayOrder.value?.rawStatus ?? order.value.status) as string
return status === 'checks_approved' || status === 'awaiting_check_review'
})