diff --git a/spiffworkflow-frontend/src/components/ProcessInstanceListTable.tsx b/spiffworkflow-frontend/src/components/ProcessInstanceListTable.tsx index 86432e10..b9560cbf 100644 --- a/spiffworkflow-frontend/src/components/ProcessInstanceListTable.tsx +++ b/spiffworkflow-frontend/src/components/ProcessInstanceListTable.tsx @@ -32,7 +32,8 @@ import { convertSecondsToFormattedTimeHoursMinutes, getPageInfoFromSearchParams, getProcessModelFullIdentifierFromSearchParams, - modifyProcessIdentifierForPathParam, refreshAtInterval, + modifyProcessIdentifierForPathParam, + refreshAtInterval, } from '../helpers'; import PaginationForTable from './PaginationForTable'; @@ -270,7 +271,6 @@ export default function ProcessInstanceListTable({ getProcessInstances(); } const checkFiltersAndRun = () => { - console.log("Checking again!", filtersEnabled) if (filtersEnabled) { // populate process model selection HttpService.makeCallToBackend({ @@ -285,10 +285,9 @@ export default function ProcessInstanceListTable({ checkFiltersAndRun(); if (autoReload) { refreshAtInterval(REFRESH_INTERVAL, REFRESH_TIMEOUT, checkFiltersAndRun); - } else { } - }, [ + autoReload, searchParams, params, oneMonthInSeconds, diff --git a/spiffworkflow-frontend/src/components/TasksForMyOpenProcesses.tsx b/spiffworkflow-frontend/src/components/TasksForMyOpenProcesses.tsx index a9b94da2..a81779c7 100644 --- a/spiffworkflow-frontend/src/components/TasksForMyOpenProcesses.tsx +++ b/spiffworkflow-frontend/src/components/TasksForMyOpenProcesses.tsx @@ -6,7 +6,8 @@ import PaginationForTable from './PaginationForTable'; import { convertSecondsToFormattedDateTime, getPageInfoFromSearchParams, - modifyProcessIdentifierForPathParam, refreshAtInterval, + modifyProcessIdentifierForPathParam, + refreshAtInterval, } from '../helpers'; import HttpService from '../services/HttpService'; import { PaginationObject } from '../interfaces';