Skip to content

Commit 2b23548

Browse files
committed
1061 client - SF
1 parent 1b80669 commit 2b23548

File tree

11 files changed

+10
-19
lines changed

11 files changed

+10
-19
lines changed

client/src/ee/pages/embedded/workflow-executions/hooks/useWorkflowExecutions.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ export const useWorkflowExecutions = (
3030
const [workflowExecutionsIsLoading, setWorkflowExecutionsIsLoading] = useState(true);
3131

3232
const {data: connectedUserProjectsQuery} = useConnectedUserProjectsQuery({
33-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
3433
environmentId: request.environmentId?.toString(),
3534
});
3635

client/src/ee/pages/settings/platform/api-connectors/components/ApiConnectorEndpointList.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import {ApiConnectorEndpoint} from '@/ee/shared/middleware/platform/api-connecto
22

33
import ApiConnectorEndpointListItem from './ApiConnectorEndpointListItem';
44

5-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
65
const ApiConnectorEndpointList = ({apiConnectorEndpoints}: {apiConnectorEndpoints?: Array<ApiConnectorEndpoint>}) => {
76
return (
87
<div className="border-b border-b-border/50 py-3 pl-4">

client/src/ee/pages/settings/platform/api-connectors/components/ApiConnectorEndpointListItem.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import {useState} from 'react';
88
import {Link} from 'react-router-dom';
99
import {twMerge} from 'tailwind-merge';
1010

11-
/* eslint-disable @typescript-eslint/no-explicit-any */
1211
const ApiConnectorEndpointListItem = ({apiConnectorEndpoint}: {apiConnectorEndpoint: ApiConnectorEndpoint}) => {
1312
const [showEditWorkflowDialog, setShowEditWorkflowDialog] = useState(false);
1413
const projectDeploymentWorkflow = undefined;

client/src/pages/automation/project/components/projects-sidebar/ProjectsLeftSidebar.test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ vi.mock('@/shared/queries/automation/workflows.queries', () => ({
104104
vi.mock('@/pages/automation/project/components/projects-sidebar/hooks/useProjectsLeftSidebar', () => ({
105105
useProjectsLeftSidebar: () => ({
106106
calculateTimeDifference: vi.fn(),
107-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
108107
createProjectWorkflowMutation: {mutate: vi.fn()},
109108
// eslint-disable-next-line @typescript-eslint/no-explicit-any
110109
getFilteredWorkflows: (workflows: any[]) => workflows || [],

client/src/pages/automation/template/components/ComponentRow.tsx

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,16 @@ const ComponentRow = ({
2828
<span className="font-medium text-gray-900">{componentDefinition.title}</span>
2929
</div>
3030

31-
{componentDefinition.connection && false && (
32-
<Button
33-
disabled={isConnected(componentDefinition.name)}
34-
onClick={() => setConnectedComponents((prev) => [...prev, componentDefinition.name])}
35-
>
36-
{isConnected(componentDefinition.name) ? 'Connected' : 'Connect'}
37-
</Button>
38-
)}
31+
{
32+
/* eslint-disable no-constant-binary-expression */ componentDefinition.connection && false && (
33+
<Button
34+
disabled={isConnected(componentDefinition.name)}
35+
onClick={() => setConnectedComponents((prev) => [...prev, componentDefinition.name])}
36+
>
37+
{isConnected(componentDefinition.name) ? 'Connected' : 'Connect'}
38+
</Button>
39+
)
40+
}
3941
</div>
4042
);
4143
};

client/src/pages/platform/workflow-editor/components/properties/ObjectProperty.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,6 @@ const ObjectProperty = ({arrayIndex, arrayName, onDeleteClick, operationName, pa
274274
if (properties?.length) {
275275
setSubProperties(properties as Array<PropertyAllType>);
276276
}
277-
// eslint-disable-next-line react-hooks/exhaustive-deps
278277
}, [properties]);
279278

280279
// update parameterObject when workflowDefinition changes

client/src/pages/platform/workflow-editor/components/properties/Property.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,6 @@ const Property = ({
913913
setMultiSelectValue(parameterDefaultValue);
914914
}
915915
}
916-
// eslint-disable-next-line react-hooks/exhaustive-deps
917916
}, [currentNode?.operationName, previousOperationName, property.defaultValue]);
918917

919918
// handle NULL type property saving

client/src/pages/platform/workflow-editor/stores/useDataPillPanelStore.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable sort-keys */
21
import {create} from 'zustand';
32
import {devtools} from 'zustand/middleware';
43

client/src/pages/platform/workflow-editor/stores/useRightSidebarStore.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* eslint-disable sort-keys */
2-
31
import {create} from 'zustand';
42
import {devtools, persist} from 'zustand/middleware';
53

client/src/shared/components/copilot/runtime-providers/CopilotRuntimeProvider.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ export function CopilotRuntimeProvider({
7171
const reader = result.body.getReader();
7272
let workflowUpdated = false;
7373

74-
/* eslint-disable no-constant-condition */
7574
while (true) {
7675
const {done, value} = await reader.read();
7776

0 commit comments

Comments
 (0)