Skip to content

Commit 9388f1c

Browse files
342 Updates disable logic for delete button
1 parent bb6a88e commit 9388f1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/orchestrator-ui-components/src/pages/processes/WfoProcessDetail.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,8 @@ export const WfoProcessDetail = ({
208208
)}
209209
color="danger"
210210
isDisabled={
211-
buttonsAreDisabled &&
212-
processDetail.lastStatus !==
211+
buttonsAreDisabled ||
212+
processDetail.lastStatus ===
213213
ProcessStatus.RUNNING
214214
}
215215
>

0 commit comments

Comments
 (0)