fix: complete disputed order flow and wallet entry

This commit is contained in:
zetaloop
2026-02-21 15:43:21 +08:00
parent e2e0b5a06a
commit 1ff499720f
3 changed files with 64 additions and 30 deletions
+15
View File
@@ -116,6 +116,21 @@ export default function OrderActions({
</Link>
</Button>
)}
{status === "cancelled" && (
<Button variant="outline" asChild>
<Link href={`/order/new?serviceId=${serviceId}`}>
<RefreshCw className="mr-1 h-4 w-4" />
</Link>
</Button>
)}
{status === "disputed" && (
<Button variant="outline" asChild>
<Link href={`/dispute/${orderId}`}></Link>
</Button>
)}
</div>
)
}