mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
Return the createUrlTree to see the redirect (#6243)
This commit is contained in:
parent
f1231d3c44
commit
aabc086ac6
@ -69,6 +69,7 @@ export abstract class AuthGuardBase implements CanActivate, CanActivateChild {
|
|||||||
if (routeRedirectTo?.length > 0) {
|
if (routeRedirectTo?.length > 0) {
|
||||||
routeRedirectTo[0].redirectTo = redirectFragment;
|
routeRedirectTo[0].redirectTo = redirectFragment;
|
||||||
}
|
}
|
||||||
|
return this.router.createUrlTree([redirectFragment]);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user