Fix redirect URL for locale (without loosing queryparms)
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
This commit is contained in:
parent
39c619a837
commit
84a1004977
@ -49,7 +49,7 @@ export class AppCommonEffects {
|
||||
switchMap((action) => {
|
||||
return zip(this.userService$.getCurrentUser(),from(this.oauthService$.loadUserProfile())).pipe(
|
||||
switchMap(([user,userInfo]) => {
|
||||
if (this.location.path === 'localhost' || user.language === undefined || user.language === this.locale)
|
||||
if (location.hostname === 'localhost' || user.language === undefined || user.language === this.locale)
|
||||
{
|
||||
return of(new appCommonActions.InitUserSuccess(user,userInfo as UserInfo))
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user