@@ -117,7 +125,7 @@ export default function ProcessGroupShow() {
);
};
- if (processGroup && pagination) {
+ if (processGroup && groupPagination && modelPagination) {
const { page, perPage } = getPageInfoFromSearchParams(searchParams);
const modifiedProcessGroupId = modifyProcessModelPath(processGroup.id);
return (
@@ -153,7 +161,7 @@ export default function ProcessGroupShow() {
@@ -162,7 +170,7 @@ export default function ProcessGroupShow() {
diff --git a/spiffworkflow-frontend/src/routes/ProcessInstanceReportEdit.tsx b/spiffworkflow-frontend/src/routes/ProcessInstanceReportEdit.tsx
index 638090da..1b9b79d6 100644
--- a/spiffworkflow-frontend/src/routes/ProcessInstanceReportEdit.tsx
+++ b/spiffworkflow-frontend/src/routes/ProcessInstanceReportEdit.tsx
@@ -1,6 +1,5 @@
import { useEffect, useState } from 'react';
import { useNavigate, useParams } from 'react-router-dom';
-import ProcessBreadcrumb from '../components/ProcessBreadcrumb';
import HttpService from '../services/HttpService';
import ButtonWithConfirmation from '../components/ButtonWithConfirmation';
@@ -24,15 +23,11 @@ export default function ProcessInstanceReportEdit() {
const [filterBy, setFilterBy] = useState('');
const navigateToProcessInstanceReport = (_result: any) => {
- navigate(
- `/admin/process-models/${params.process_group_id}/${params.process_model_id}/process-instances/reports/${params.report_identifier}`
- );
+ navigate(`/admin/process-instances/reports/${params.report_identifier}`);
};
const navigateToProcessInstanceReports = (_result: any) => {
- navigate(
- `/admin/process-models/${params.process_group_id}/${params.process_model_id}/process-instances/reports`
- );
+ navigate(`/admin/process-instances/reports`);
};
useEffect(() => {
@@ -111,7 +106,6 @@ export default function ProcessInstanceReportEdit() {
return (
<>
-
Edit Process Instance Report: {params.report_identifier}
{
HttpService.makeCallToBackend({
@@ -27,7 +22,7 @@ export default function ProcessInstanceReportList() {
{rowToUse.identifier}
@@ -49,15 +44,8 @@ export default function ProcessInstanceReportList() {
const headerStuff = (
<>
-
- Reports for Process Model: {params.process_model_id}
- | |