Skip to content

Commit

Permalink
hotfix: send event from decision change
Browse files Browse the repository at this point in the history
  • Loading branch information
alonp99 committed Aug 10, 2023
2 parents 9cbdb5b + 5b67087 commit 49147ab
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ export const useCaseDecision = () => {
!canRevision &&
caseState.actionButtonsEnabled &&
workflow?.nextEvents?.includes(Action.APPROVE.toLowerCase());
const noAction = !canApprove && !canReject && !canRevision;
const noAction =
workflow?.workflowDefinition?.config?.workflowLevelResolution &&
!canApprove &&
!canReject &&
!canRevision;

return {
hasDecision,
Expand Down

0 comments on commit 49147ab

Please sign in to comment.