Skip to content

Commit

Permalink
fix(consent osp): redirect to portal page instead of overlay (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
oyo authored Jul 8, 2024
1 parent 1caa9aa commit 98b8f5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DEPENDENCIES
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ npm/npmjs/-/typed-array-buffer/1.0.2, MIT, approved, #9658
npm/npmjs/-/typed-array-byte-length/1.0.1, MIT, approved, #9659
npm/npmjs/-/typed-array-byte-offset/1.0.2, MIT, approved, #9407
npm/npmjs/-/typed-array-length/1.0.6, MIT, approved, #6246
npm/npmjs/-/typescript/5.4.5, Apache-2.0 AND MIT AND CC-BY-4.0 AND Unicode-DFS-2016 AND W3C-20150513, approved, #13647
npm/npmjs/-/typescript/5.4.5, Apache-2.0 AND (CC-BY-4.0 AND LicenseRef-Unicode AND MIT AND W3C-20150513) AND BSD-3-Clause AND ODbL-1.0 AND MIT, approved, #15244
npm/npmjs/-/unbox-primitive/1.0.2, MIT, approved, clearlydefined
npm/npmjs/-/uncontrollable/7.2.1, MIT AND BSD-3-Clause, approved, #3025
npm/npmjs/-/uncontrollable/8.0.4, MIT, approved, clearlydefined
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,6 @@ export function handleStatusRedirect(
location.href = '/'
else if (Object.values(ApplicationStatus).includes(status)) {
if (applicationType === ApplicationType.INTERNAL) history.push('/landing')
else location.href = '/?overlay=consent_osp'
else location.href = '/consent_osp'
} else history.push('/landing')
}

0 comments on commit 98b8f5b

Please sign in to comment.