Skip to content

Commit

Permalink
Merge pull request #108 from AkshataKatwal16/page-issue
Browse files Browse the repository at this point in the history
Issue feat:update back logic for back from review page
  • Loading branch information
itsvick authored Nov 22, 2024
2 parents 54a0be0 + 85b12ee commit 0f7230f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/workspace/content/review/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,11 @@ const ReviewContentSubmissions = () => {
}, [identifier]);

const redirectToReviewPage = () => {
if(getLocalStoredUserRole() === Role.SCTA){
if(getLocalStoredUserRole() === Role.CCTA){
router.push({ pathname: `/workspace/content/up-review` });

}
else
router.push({ pathname: `/workspace/content/submitted` });
};

Expand Down

0 comments on commit 0f7230f

Please sign in to comment.