[WIP] Irish mock configuration: disable services, reset properly link resolver for national
This commit is contained in:
parent
e998bb61e2
commit
6fb7617bf9
|
@ -44,7 +44,7 @@ export class NationalComponent extends BaseComponent implements OnInit {
|
||||||
this.stakeholder = stakeholder;
|
this.stakeholder = stakeholder;
|
||||||
if(this.stakeholder) {
|
if(this.stakeholder) {
|
||||||
this._customFilterService.setCustomFilter([new SearchCustomFilter("National", "country", "IE", "Irish National Monitor")]);
|
this._customFilterService.setCustomFilter([new SearchCustomFilter("National", "country", "IE", "Irish National Monitor")]);
|
||||||
LinksResolver.setProperties("");
|
LinksResolver.resetProperties();
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ import {StakeholderConfiguration} from "../openaireLibrary/monitor-admin/utils/i
|
||||||
export class Irish {
|
export class Irish {
|
||||||
public static METADATA_PREFIX = 'NOAMI | ';
|
public static METADATA_PREFIX = 'NOAMI | ';
|
||||||
|
|
||||||
public portal: Portal = Portal.getMockCommunityInfo("noami", "Noami",[],[]);
|
public portal: Portal = Portal.getMockCommunityInfo("noami", "Noami",['service'],['/search/advanced/services', '/search/find/services']);
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
StakeholderConfiguration.ENTITIES.stakeholder = 'Monitor';
|
StakeholderConfiguration.ENTITIES.stakeholder = 'Monitor';
|
||||||
|
|
Loading…
Reference in New Issue