Some fixes
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
2656a67fca
commit
8d204ce1cd
@ -19,7 +19,15 @@ const routes = [
|
|||||||
component: MapComponent
|
component: MapComponent
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
{
|
||||||
|
path: ':queryState', children: [
|
||||||
|
{
|
||||||
|
path: '',
|
||||||
|
component: MapComponent
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
|
@ -141,7 +141,7 @@ export class AppComponent implements OnInit, OnDestroy {
|
|||||||
this.store$.dispatch(new commonActions.InitUser());
|
this.store$.dispatch(new commonActions.InitUser());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if(this.oauthService$.hasValidAccessToken) {
|
if(this.oauthService$.hasValidAccessToken()) {
|
||||||
this.store$.dispatch(new commonActions.InitUser());
|
this.store$.dispatch(new commonActions.InitUser());
|
||||||
} else {
|
} else {
|
||||||
if(this.oauthService$.getRefreshToken() !=null) {
|
if(this.oauthService$.getRefreshToken() !=null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user