fix(auth): checking for transition role when triggering transition
This commit is contained in:
parent
dd72769841
commit
79a44aa51f
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ const requestTransition = async (
|
|||
itemsTransitionStatus?.value === TransitionStatus.STATUSES.Verified &&
|
||||
revisionsTransitionStatus?.value === TransitionStatus.STATUSES.Verified
|
||||
|
||||
if (userHasTransitionRole && bothTransitionStatusesAreVerified) {
|
||||
if (!userHasTransitionRole && bothTransitionStatusesAreVerified) {
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue