lint
This commit is contained in:
parent
43d46c5251
commit
b571ba0d88
|
@ -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,
|
||||||
|
|
|
@ -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';
|
||||||
|
|
Loading…
Reference in New Issue