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

View File

@ -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,

View File

@ -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';