From 025a62aa3712d5fbb180878f41dc8b4a2ca843f3 Mon Sep 17 00:00:00 2001 From: jasquat Date: Wed, 20 Sep 2023 13:20:49 -0400 Subject: [PATCH] fixed some admin links left behind --- .../src/components/MessageInstanceList.tsx | 2 +- .../src/components/ProcessBreadcrumb.test.tsx | 2 +- spiffworkflow-frontend/src/routes/JsonSchemaFormBuilder.tsx | 2 +- spiffworkflow-frontend/src/routes/ProcessGroupEdit.tsx | 2 +- spiffworkflow-frontend/src/routes/ProcessGroupNew.tsx | 2 +- spiffworkflow-frontend/src/routes/ProcessGroupShow.tsx | 2 +- spiffworkflow-frontend/src/routes/ProcessInstanceList.tsx | 2 +- spiffworkflow-frontend/src/routes/ProcessInstanceShow.tsx | 2 +- .../src/routes/ProcessInterstitialPage.tsx | 2 +- spiffworkflow-frontend/src/routes/ProcessModelEdit.tsx | 2 +- .../src/routes/ProcessModelEditDiagram.tsx | 4 ++-- spiffworkflow-frontend/src/routes/ProcessModelNew.tsx | 2 +- .../src/routes/ProcessModelNewExperimental.tsx | 2 +- spiffworkflow-frontend/src/routes/ProcessModelShow.tsx | 6 +++--- spiffworkflow-frontend/src/routes/ReactFormEditor.tsx | 2 +- 15 files changed, 18 insertions(+), 18 deletions(-) diff --git a/spiffworkflow-frontend/src/components/MessageInstanceList.tsx b/spiffworkflow-frontend/src/components/MessageInstanceList.tsx index 59811319..1588a411 100644 --- a/spiffworkflow-frontend/src/components/MessageInstanceList.tsx +++ b/spiffworkflow-frontend/src/components/MessageInstanceList.tsx @@ -159,7 +159,7 @@ export default function MessageInstanceList({ processInstanceId }: OwnProps) { breadcrumbElement = ( { render( ); diff --git a/spiffworkflow-frontend/src/routes/JsonSchemaFormBuilder.tsx b/spiffworkflow-frontend/src/routes/JsonSchemaFormBuilder.tsx index 51f22eb3..f5c5885d 100644 --- a/spiffworkflow-frontend/src/routes/JsonSchemaFormBuilder.tsx +++ b/spiffworkflow-frontend/src/routes/JsonSchemaFormBuilder.tsx @@ -359,7 +359,7 @@ export default function JsonSchemaFormBuilder() { <> { - navigate(`/admin${url}`); + navigate(url); }; const processModelToPass = { primary_file_name: fileName, @@ -1131,7 +1131,7 @@ export default function ProcessModelEditDiagram() { <> @@ -618,7 +618,7 @@ export default function ProcessModelShow() {