Skip to content

Commit e146b53

Browse files
committed
fixed logic
1 parent f79ae0e commit e146b53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auth-web/src/routes/router.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ export function getRoutes (): RouteConfig[] {
231231
path: '/account/:orgId',
232232
name: 'account',
233233
beforeEnter: (to, from, next) => {
234-
if (LaunchDarklyService.getFlag(LDFlags.EnableBusinessRegistryDashboard) && to.query.newbrd === 'true') {
234+
if (LaunchDarklyService.getFlag(LDFlags.EnableBusinessRegistryDashboard) && to.query.noRedirect !== 'true') {
235235
window.location.href = ConfigHelper.getNewBusinessRegistryDashboardUrl()
236236
} else {
237237
next()

0 commit comments

Comments
 (0)