From 6e4ab1617e48ae5b671bb79624739265b529b8a8 Mon Sep 17 00:00:00 2001 From: burnettk Date: Wed, 7 Feb 2024 17:59:07 -0500 Subject: [PATCH] fix lint --- .../src/components/ProcessInstanceListTable.tsx | 2 +- spiffworkflow-frontend/src/routes/MyTasks.tsx | 1 + spiffworkflow-frontend/src/routes/SecretList.tsx | 2 +- spiffworkflow-frontend/src/routes/SecretShow.tsx | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/spiffworkflow-frontend/src/components/ProcessInstanceListTable.tsx b/spiffworkflow-frontend/src/components/ProcessInstanceListTable.tsx index 7b2856c11..00184594a 100644 --- a/spiffworkflow-frontend/src/components/ProcessInstanceListTable.tsx +++ b/spiffworkflow-frontend/src/components/ProcessInstanceListTable.tsx @@ -451,7 +451,7 @@ export default function ProcessInstanceListTable({ if (!(processInstance.status in statusesToExcludeTaskButton)) { currentRow.push({buttonElement}); } else { - currentRow.push(); + currentRow.push(); } } diff --git a/spiffworkflow-frontend/src/routes/MyTasks.tsx b/spiffworkflow-frontend/src/routes/MyTasks.tsx index a62eb1b7d..f4fccaba5 100644 --- a/spiffworkflow-frontend/src/routes/MyTasks.tsx +++ b/spiffworkflow-frontend/src/routes/MyTasks.tsx @@ -137,6 +137,7 @@ export default function MyTasks() { {row.processModelDisplayName} + {/* eslint-disable-next-line jsx-a11y/control-has-associated-label */} diff --git a/spiffworkflow-frontend/src/routes/SecretList.tsx b/spiffworkflow-frontend/src/routes/SecretList.tsx index 8c6e7f168..f788bea73 100644 --- a/spiffworkflow-frontend/src/routes/SecretList.tsx +++ b/spiffworkflow-frontend/src/routes/SecretList.tsx @@ -81,7 +81,7 @@ export default function SecretList() { {(row as any).username} - + handleDeleteSecret((row as any).key)} /> diff --git a/spiffworkflow-frontend/src/routes/SecretShow.tsx b/spiffworkflow-frontend/src/routes/SecretShow.tsx index 8382badab..f221b6961 100644 --- a/spiffworkflow-frontend/src/routes/SecretShow.tsx +++ b/spiffworkflow-frontend/src/routes/SecretShow.tsx @@ -106,7 +106,7 @@ export default function SecretShow() { {params.key} {displaySecretValue && ( <> - +