Revision 56915
Added by Konstantinos Triantafyllou over 4 years ago
app.component.ts | ||
---|---|---|
89 | 89 |
this.route.queryParams.subscribe(params => { |
90 | 90 |
communityId = (params['communityId']) ? params['communityId'] : ''; |
91 | 91 |
this.buildMenu(communityId); |
92 |
this.showMenu = true; |
|
93 | 92 |
}) |
94 | 93 |
} else { |
95 | 94 |
this.showMenu = false; |
96 | 95 |
communityId = ConnectHelper.getCommunityFromDomain(this.properties.domain); |
97 | 96 |
this.buildMenu(communityId); |
98 |
this.showMenu = true; |
|
99 | 97 |
} |
100 |
|
|
101 |
if (typeof document !== 'undefined') { |
|
98 |
if (typeof document !== 'undefined') { |
|
102 | 99 |
try { |
103 | 100 |
this.isClient = true; |
104 | 101 |
} catch (e) { |
... | ... | |
281 | 278 |
this.userMenuItems.push(new MenuItem("", "Support", "https://openaire-connect.d4science.org/group/openaire-connect-gateway/explore?siteId=172366611", "", false, [], [], {})) |
282 | 279 |
} |
283 | 280 |
} |
281 |
this.showMenu = true; |
|
284 | 282 |
}); |
285 | 283 |
} |
286 | 284 |
} |
Also available in: Unified diff
[Connect|Login]: Merge from trunk