[Library | develop]: ISVocabularies.service.ts: [Bug fix] In methods getFos() and getSDGs(), removed check and call to cache - these files are always local | sdg.component.ts: Set customFilter and pass it as parameter to <sdg>.
This commit is contained in:
parent
4571812fe6
commit
b5d95fbac8
|
@ -1 +1 @@
|
|||
Subproject commit d4103354aa0254475df4aa29382999bc2f25bf29
|
||||
Subproject commit 3ee89e2bcae313a1ac82cfb678c4476ec1e9905f
|
|
@ -2,16 +2,18 @@ import {Component} from "@angular/core";
|
|||
import {properties} from "../../environments/environment";
|
||||
import {ConnectHelper} from "../openaireLibrary/connect/connectHelper";
|
||||
import {PiwikHelper} from "../utils/piwikHelper";
|
||||
import {SearchCustomFilter} from "../openaireLibrary/searchPages/searchUtils/searchUtils.class";
|
||||
|
||||
@Component({
|
||||
selector: 'community-sdg',
|
||||
template: `
|
||||
<sdg [piwikSiteId]="piwikSiteId"></sdg>
|
||||
<sdg [piwikSiteId]="piwikSiteId" [customFilter]="customFilter"></sdg>
|
||||
`
|
||||
})
|
||||
export class CommunitySdgComponent {
|
||||
piwikSiteId;
|
||||
communityId;
|
||||
customFilter: SearchCustomFilter = null;
|
||||
|
||||
constructor() {
|
||||
}
|
||||
|
@ -19,5 +21,6 @@ export class CommunitySdgComponent {
|
|||
ngOnInit() {
|
||||
this.communityId = ConnectHelper.getCommunityFromDomain(properties.domain);
|
||||
this.piwikSiteId = PiwikHelper.getSiteId(this.communityId);
|
||||
this.customFilter = new SearchCustomFilter("Community", "communityId", this.communityId, "");
|
||||
}
|
||||
}
|
|
@ -1 +1 @@
|
|||
Subproject commit d8e7e5439fbd606301b51fdd5ed5115d9ad75c22
|
||||
Subproject commit f15bbfa7265f170e06b256f086f2acedfa3f72e0
|
|
@ -1 +1 @@
|
|||
Subproject commit a5b03a914c98c4478d758f58a8ceacc8f3c0611a
|
||||
Subproject commit 468b2b008f474c88dacc52991a5231693833f1f9
|
Loading…
Reference in New Issue