This commit is contained in:
burnettk 2022-11-25 12:10:42 -05:00
parent 43d46c5251
commit b571ba0d88
2 changed files with 5 additions and 5 deletions

View File

@ -32,7 +32,8 @@ import {
convertSecondsToFormattedTimeHoursMinutes, convertSecondsToFormattedTimeHoursMinutes,
getPageInfoFromSearchParams, getPageInfoFromSearchParams,
getProcessModelFullIdentifierFromSearchParams, getProcessModelFullIdentifierFromSearchParams,
modifyProcessIdentifierForPathParam, refreshAtInterval, modifyProcessIdentifierForPathParam,
refreshAtInterval,
} from '../helpers'; } from '../helpers';
import PaginationForTable from './PaginationForTable'; import PaginationForTable from './PaginationForTable';
@ -270,7 +271,6 @@ export default function ProcessInstanceListTable({
getProcessInstances(); getProcessInstances();
} }
const checkFiltersAndRun = () => { const checkFiltersAndRun = () => {
console.log("Checking again!", filtersEnabled)
if (filtersEnabled) { if (filtersEnabled) {
// populate process model selection // populate process model selection
HttpService.makeCallToBackend({ HttpService.makeCallToBackend({
@ -285,10 +285,9 @@ export default function ProcessInstanceListTable({
checkFiltersAndRun(); checkFiltersAndRun();
if (autoReload) { if (autoReload) {
refreshAtInterval(REFRESH_INTERVAL, REFRESH_TIMEOUT, checkFiltersAndRun); refreshAtInterval(REFRESH_INTERVAL, REFRESH_TIMEOUT, checkFiltersAndRun);
} else {
} }
}, [ }, [
autoReload,
searchParams, searchParams,
params, params,
oneMonthInSeconds, oneMonthInSeconds,

View File

@ -6,7 +6,8 @@ import PaginationForTable from './PaginationForTable';
import { import {
convertSecondsToFormattedDateTime, convertSecondsToFormattedDateTime,
getPageInfoFromSearchParams, getPageInfoFromSearchParams,
modifyProcessIdentifierForPathParam, refreshAtInterval, modifyProcessIdentifierForPathParam,
refreshAtInterval,
} from '../helpers'; } from '../helpers';
import HttpService from '../services/HttpService'; import HttpService from '../services/HttpService';
import { PaginationObject } from '../interfaces'; import { PaginationObject } from '../interfaces';