From 8be9475ee52b3ce5540d980a924171e056414c07 Mon Sep 17 00:00:00 2001
From: Quaternions <krakow20@gmail.com>
Date: Thu, 3 Apr 2025 20:03:48 -0700
Subject: [PATCH] web: route to provided path on operation success

---
 web/src/app/operations/[operationId]/page.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/src/app/operations/[operationId]/page.tsx b/web/src/app/operations/[operationId]/page.tsx
index 36f1c8a..28181a9 100644
--- a/web/src/app/operations/[operationId]/page.tsx
+++ b/web/src/app/operations/[operationId]/page.tsx
@@ -105,7 +105,7 @@ export default function OperationStatusPage() {
 							<Button
 								variant="contained"
 								color="success"
-								onClick={() => router.push(`/submissions/${operation.OperationID}`)}
+								onClick={() => router.push(operation.Path)}
 							>
 								View Submission
 							</Button>