Skip to content

Commit ea6a315

Browse files
authored
Merge pull request Expensify#81310 from paulnjs/paulnjs-fix/80866
2 parents b3361ca + 473cd6b commit ea6a315

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libs/WorkflowUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ function convertPolicyEmployeesToApprovalWorkflows({policy, personalDetails, fir
118118
// Add each employee to the appropriate workflow
119119
for (const employee of Object.values(employees)) {
120120
const {email, submitsTo, pendingAction} = employee;
121-
if (!email || !submitsTo || !employees[submitsTo]) {
121+
if (!email || !submitsTo || !employees[submitsTo] || employee.pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE) {
122122
continue;
123123
}
124124

0 commit comments

Comments
 (0)