From b571ba0d88d4eff4fa2288f60ba0bb70862f164f Mon Sep 17 00:00:00 2001 From: burnettk Date: Fri, 25 Nov 2022 12:10:42 -0500 Subject: [PATCH] lint --- .../src/components/ProcessInstanceListTable.tsx | 7 +++---- .../src/components/TasksForMyOpenProcesses.tsx | 3 ++- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/spiffworkflow-frontend/src/components/ProcessInstanceListTable.tsx b/spiffworkflow-frontend/src/components/ProcessInstanceListTable.tsx index 86432e10e..b9560cbf0 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 a9b94da29..a81779c7a 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';