Skip to content

Commit 0c078ef

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

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,8 +196,9 @@ 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)
199+
if (!yes) {
200200
return;
201+
}
201202

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

225227
workflowOperation.action(workflow).catch(setError);
226228
});
@@ -467,8 +469,9 @@ export function WorkflowDetails({history, location, match}: RouteComponentProps<
467469

468470
function renderResumePopup() {
469471
return popup.confirm('Confirm', renderSuspendNodeOptions).then(yes => {
470-
if (!yes)
472+
if (!yes) {
471473
return;
474+
}
472475

473476
updateOutputParametersForNodeIfRequired()
474477
.then(resumeNode)

0 commit comments

Comments
 (0)