Skip to content

Commit

Permalink
fix: use 'UNAPPROVABLE' as default approval status
Browse files Browse the repository at this point in the history
Co-authored-by: Hendrik de Graaf <HendrikThePendric@users.noreply.github.com>
  • Loading branch information
mediremi and HendrikThePendric authored Aug 16, 2021
1 parent 3692ba5 commit 4a7b6b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/top-bar/org-unit-select/approval-statuses.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const useFetchApprovalStatus = ({ updateApprovalStatuses }) => {
},
})
approvalStatuses.forEach(({ ou, state }) => {
updateObject[ou] = state
updateObject[ou] = state || 'UNAPPROVABLE'
})
} catch (error) {
orgUnitIds.forEach(orgUnitId => {
Expand Down

0 comments on commit 4a7b6b3

Please sign in to comment.