Skip to content

Commit c165611

Browse files
committed
fix: lint
Signed-off-by: Noam Gal <[email protected]>
1 parent 3d7773a commit c165611

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

ui/src/app/workflows/components/workflow-details/workflow-details.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,8 @@ export function WorkflowDetails({history, location, match}: RouteComponentProps<
196196
popup
197197
.confirm('Confirm', () => <DeleteCheck isWfInDB={isArchivedWorkflow(workflow)} isWfInCluster={isWorkflowInCluster(workflow)} />)
198198
.then(async yes => {
199-
if (!yes) return;
199+
if (!yes)
200+
return;
200201

201202
const allPromises = [];
202203
if (isWorkflowInCluster(workflow)) {
@@ -218,7 +219,8 @@ export function WorkflowDetails({history, location, match}: RouteComponentProps<
218219
setSidePanel('retry');
219220
} else {
220221
popup.confirm('Confirm', `Are you sure you want to ${workflowOperation.title.toLowerCase()} this workflow?`).then(yes => {
221-
if (!yes) return;
222+
if (!yes)
223+
return;
222224

223225
workflowOperation.action(workflow).catch(setError);
224226
});
@@ -465,7 +467,8 @@ export function WorkflowDetails({history, location, match}: RouteComponentProps<
465467

466468
function renderResumePopup() {
467469
return popup.confirm('Confirm', renderSuspendNodeOptions).then(yes => {
468-
if (!yes) return;
470+
if (!yes)
471+
return;
469472

470473
updateOutputParametersForNodeIfRequired()
471474
.then(resumeNode)

0 commit comments

Comments
 (0)