Skip to content

Commit

Permalink
fix: handle UNAPPROVED_ABOVE status
Browse files Browse the repository at this point in the history
  • Loading branch information
mediremi committed Jul 6, 2021
1 parent b12a8f3 commit 114e1f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/shared/status-tag/status-tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ StatusTag.propTypes = {
'UNAPPROVED_READY',
'UNAPPROVED_WAITING',
'UNAPPROVED_ELSEWHERE',
'UNAPPROVED_ABOVE',
'UNAPPROVABLE',
]),
}
Expand Down
1 change: 1 addition & 0 deletions src/shared/status-tag/use-approval-state.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const useApprovalState = approvalState => {

case 'UNAPPROVED_WAITING':
case 'UNAPPROVED_ELSEWHERE':
case 'UNAPPROVED_ABOVE':
return {
icon: Waiting,
displayName: i18n.t('Waiting'),
Expand Down

0 comments on commit 114e1f5

Please sign in to comment.