From a405ce6e23962125e637336ffc47d57cf6b7b306 Mon Sep 17 00:00:00 2001 From: Stephen Smith Date: Tue, 17 Sep 2024 10:07:38 -0400 Subject: [PATCH] 21893: Make linter happy Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- services/workbench2/src/store/processes/processes-actions.ts | 4 +--- services/workbench2/src/store/workbench/workbench-actions.ts | 1 - .../src/views/process-panel/process-details-attributes.tsx | 4 ++-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/services/workbench2/src/store/processes/processes-actions.ts b/services/workbench2/src/store/processes/processes-actions.ts index 331db753fe..1608a2c6b7 100644 --- a/services/workbench2/src/store/processes/processes-actions.ts +++ b/services/workbench2/src/store/processes/processes-actions.ts @@ -6,7 +6,6 @@ import { Dispatch } from "redux"; import { RootState } from "store/store"; import { ServiceRepository } from "services/services"; import { updateResources } from "store/resources/resources-actions"; -import { Process } from "./process"; import { dialogActions } from "store/dialog/dialog-actions"; import { snackbarActions, SnackbarKind } from "store/snackbar/snackbar-actions"; import { projectPanelDataActions } from "store/project-panel/project-panel-action-bind"; @@ -21,8 +20,7 @@ import { CommandInputParameter, getWorkflow, getWorkflowInputs, getWorkflowOutpu import { ProjectResource } from "models/project"; import { UserResource } from "models/user"; import { CommandOutputParameter } from "cwlts/mappings/v1.0/CommandOutputParameter"; -import { ContainerResource } from "models/container"; -import { ContainerRequestResource, ContainerRequestState } from "models/container-request"; +import { ContainerRequestState } from "models/container-request"; import { FilterBuilder } from "services/api/filter-builder"; import { selectedToArray } from "components/multiselect-toolbar/MultiselectToolbar"; import { Resource, ResourceKind } from "models/resource"; diff --git a/services/workbench2/src/store/workbench/workbench-actions.ts b/services/workbench2/src/store/workbench/workbench-actions.ts index 0a9d79f08c..fd48d57ada 100644 --- a/services/workbench2/src/store/workbench/workbench-actions.ts +++ b/services/workbench2/src/store/workbench/workbench-actions.ts @@ -47,7 +47,6 @@ import * as projectUpdateActions from "store/projects/project-update-actions"; import * as collectionCreateActions from "store/collections/collection-create-actions"; import * as collectionCopyActions from "store/collections/collection-copy-actions"; import * as collectionMoveActions from "store/collections/collection-move-actions"; -import * as processesActions from "store/processes/processes-actions"; import * as processMoveActions from "store/processes/process-move-actions"; import * as processUpdateActions from "store/processes/process-update-actions"; import * as processCopyActions from "store/processes/process-copy-actions"; diff --git a/services/workbench2/src/views/process-panel/process-details-attributes.tsx b/services/workbench2/src/views/process-panel/process-details-attributes.tsx index 33334ef181..8ca22ea226 100644 --- a/services/workbench2/src/views/process-panel/process-details-attributes.tsx +++ b/services/workbench2/src/views/process-panel/process-details-attributes.tsx @@ -10,7 +10,7 @@ import { resourceLabel } from "common/labels"; import { DetailsAttribute } from "components/details-attribute/details-attribute"; import { ResourceKind } from "models/resource"; import { CollectionName, ContainerRunTime, ResourceWithName } from "views-components/data-explorer/renderers"; -import { Process, getProcess, getProcessStatus, ProcessProperties } from "store/processes/process"; +import { getProcess, getProcessStatus, ProcessProperties } from "store/processes/process"; import { RootState } from "store/store"; import { connect } from "react-redux"; import { ProcessResource, MOUNT_PATH_CWL_WORKFLOW } from "models/process"; @@ -134,7 +134,7 @@ export const ProcessDetailsAttributes = withStyles(styles, { withTheme: true })( props.pollSchedulingStatus(containerRequest.uuid) ), isProcessScheduling(container) ? 5000 : null); - if (containerRequest.state == ContainerRequestState.UNCOMMITTED) { + if (containerRequest.state === ContainerRequestState.UNCOMMITTED) { schedulingStatus = "In draft state, not ready to run"; } -- 2.30.2