mirror of
https://github.com/sartography/cr-connect-bpmn.git
synced 2025-03-02 00:50:30 +00:00
Merge branch 'rrt/testing' into rrt/staging
This commit is contained in:
commit
ed5f948565
@ -39,7 +39,11 @@ export class NavbarComponent {
|
||||
if (isSignedIn()) {
|
||||
this.api.getUser().subscribe(u => {
|
||||
this.user = u;
|
||||
this.googleAnalyticsService.setUser(this.user.uid);
|
||||
|
||||
if (this.user && this.user.uid) {
|
||||
this.googleAnalyticsService.setUser(this.user.uid);
|
||||
}
|
||||
|
||||
this._loadNavLinks();
|
||||
}, error => {
|
||||
localStorage.removeItem('token');
|
||||
|
Loading…
x
Reference in New Issue
Block a user