Load profile after refresh
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Willem Dantuma 2023-03-07 14:14:14 +01:00
parent 7c8c16362c
commit 3c7adf012f

View File

@ -156,6 +156,7 @@ export class AppComponent implements OnInit, OnDestroy {
} }
} }
if (event.type == 'token_received') { if (event.type == 'token_received') {
this.oauthService$.loadUserProfile();
this.store$.dispatch(new commonActions.InitUser()); this.store$.dispatch(new commonActions.InitUser());
} }
}); });