From cf48d572f69cf7b47f2ce5575b092c2ad9ad6cd6 Mon Sep 17 00:00:00 2001 From: mike cullerton Date: Thu, 15 Dec 2022 17:49:20 -0500 Subject: [PATCH] fixed a path issue with the breadcrumb --- spiffworkflow-frontend/src/routes/ProcessInstanceList.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/spiffworkflow-frontend/src/routes/ProcessInstanceList.tsx b/spiffworkflow-frontend/src/routes/ProcessInstanceList.tsx index b6c08b21..6b0da6de 100644 --- a/spiffworkflow-frontend/src/routes/ProcessInstanceList.tsx +++ b/spiffworkflow-frontend/src/routes/ProcessInstanceList.tsx @@ -6,7 +6,7 @@ import 'react-bootstrap-typeahead/css/Typeahead.css'; import 'react-bootstrap-typeahead/css/Typeahead.bs5.css'; import ProcessBreadcrumb from '../components/ProcessBreadcrumb'; import ProcessInstanceListTable from '../components/ProcessInstanceListTable'; -import { getProcessModelFullIdentifierFromSearchParams } from '../helpers'; +import {getProcessModelFullIdentifierFromSearchParams, modifyProcessIdentifierForPathParam} from '../helpers'; export default function ProcessInstanceList() { const [searchParams] = useSearchParams(); @@ -16,6 +16,9 @@ export default function ProcessInstanceList() { if (processModelFullIdentifier === null) { return null; } + const modifiedProcessModelId = modifyProcessIdentifierForPathParam( + processModelFullIdentifier + ); return (