Some fixes
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good Details

2022.01
Willem Dantuma 2020-10-30 12:37:02 +01:00
parent 2656a67fca
commit 8d204ce1cd
2 changed files with 10 additions and 2 deletions

View File

@ -19,7 +19,15 @@ const routes = [
component: MapComponent
}
]
}
},
{
path: ':queryState', children: [
{
path: '',
component: MapComponent
}
]
}
];
@NgModule({

View File

@ -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) {