[Library|Trunk]
Communities service: set behaviorSubject to null git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56805 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
99a70f0aa6
commit
db2371fee7
|
@ -12,7 +12,7 @@ export class CommunitiesService {
|
|||
public communities: BehaviorSubject<CommunityInfo[]> = null;
|
||||
|
||||
constructor(private http: HttpClient) {
|
||||
this.communities = new BehaviorSubject([]);
|
||||
this.communities = new BehaviorSubject(null);
|
||||
}
|
||||
|
||||
updateCommunities(properties: EnvProperties, url: string) {
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
<ng-container *ngFor="let submenu of menu.items">
|
||||
<li *ngIf="isEnabled(submenu.entitiesRequired,showEntity) && isEnabled(submenu.routeRequired, showPage) && (submenu.route.length > 0 || submenu.url.length > 0)">
|
||||
<a *ngIf="submenu.route.length > 0" routerLinkActive="uk-link" routerLink="{{submenu.route}}" [queryParams]=submenu.params class="uk-offcanvas-close custom-offcanvas-close">{{submenu.title}}</a>
|
||||
<a *ngIf="submenu.route.length == 0 && submenu.url.length > 0"routerLinkActive="uk-link" href="{{submenu.url}}" target="_blank" class="uk-offcanvas-close custom-offcanvas-close">{{submenu.title}}</a>
|
||||
<a *ngIf="submenu.route.length == 0 && submenu.url.length > 0" routerLinkActive="uk-link" href="{{submenu.url}}" target="_blank" class="uk-offcanvas-close custom-offcanvas-close">{{submenu.title}}</a>
|
||||
|
||||
</li>
|
||||
<li *ngIf="submenu.route.length == 0 && submenu.url.length == 0 && isEnabled(submenu.entitiesRequired,showEntity) && isEnabled(submenu.routeRequired, showPage)" class="uk-nav-header">{{submenu.title}}</li>
|
||||
|
|
Loading…
Reference in New Issue