Skip to content

Commit

Permalink
Refactor notifications setup redirect (#2653)
Browse files Browse the repository at this point in the history
https://eaflood.atlassian.net/browse/WATER-4716

As part of the ongoing work to migrate the legacy UI we are replacing the notification journey from the UI and rebuilding in system.

This change changes the notification setup target route. This is done to allow the system to set up an initial session for the journey.

Work done here - DEFRA/water-abstraction-system#1574
  • Loading branch information
jonathangoulding authored Dec 17, 2024
1 parent 079d4ba commit 2b68b4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/internal/modules/manage/lib/manage-nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const getManageTabConfig = request => mapValues(

const _returnNotificationsInvitations = () => {
if (config.featureToggles.enableSystemNotifications) {
return '/system/notifications/setup/returns-period'
return '/system/notifications/setup'
} else {
return '/returns-notifications/invitations'
}
Expand Down
2 changes: 1 addition & 1 deletion test/internal/modules/manage/lib/manage-nav.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ experiment('getManageTabConfig', () => {

expect(config.returnNotifications[0]).to.equal({
name: 'Invitations',
path: '/system/notifications/setup/returns-period',
path: '/system/notifications/setup',
scopes: 'bulk_return_notifications'
})
})
Expand Down

0 comments on commit 2b68b4e

Please sign in to comment.