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