[Library | new-theme]: searchPages/: Set default value null to @Input() openaireLink | env-properties.ts: In Dashboard type added "eosc".

This commit is contained in:
Konstantina Galouni 2022-08-08 17:45:31 +03:00
parent e2792d3be6
commit 9c194a3a56
5 changed files with 5 additions and 5 deletions

View File

@ -84,7 +84,7 @@ export class SearchDataProvidersComponent {
advancedSearchLink: string = "";
csvPath: string = "";
@Input() hasPrefix: boolean = true;
@Input() openaireLink: string;
@Input() openaireLink: string = null;
@Input() includeOnlyResultsAndFilter: boolean = false;
@Output() searchPageUpdates = new EventEmitter();
@Input() showSwitchSearchLink:boolean;

View File

@ -72,7 +72,7 @@ export class SearchOrganizationsComponent {
@Input() simpleSearchLink: string = "";
advancedSearchLink: string = "";
@Input() hasPrefix: boolean = true;
@Input() openaireLink: string;
@Input() openaireLink: string = null;
@Input() includeOnlyResultsAndFilter: boolean = false;
@Output() searchPageUpdates = new EventEmitter();
@Input() showSwitchSearchLink:boolean = true;

View File

@ -77,7 +77,7 @@ export class SearchProjectsComponent {
@Input() simpleSearchLink: string = "";
advancedSearchLink: string = "";
@Input() hasPrefix: boolean = true;
@Input() openaireLink: string;
@Input() openaireLink: string = null;
@Input() includeOnlyResultsAndFilter: boolean = false;
@Output() searchPageUpdates = new EventEmitter();
@Input() showSwitchSearchLink: boolean = true;

View File

@ -72,7 +72,7 @@ export class SearchResearchResultsComponent {
public disableRefineForms: boolean = false;
public loadPaging: boolean = true;
public oldTotalResults: number = 0;
@Input() openaireLink: string;
@Input() openaireLink: string = null;
@Input() customFilter: SearchCustomFilter = null;
public pagingLimit: number = 0;
public isPiwikEnabled;

View File

@ -1,5 +1,5 @@
export type Environment = "development" | "test" | "beta" | "production";
export type Dashboard = "explore" | "connect" | "monitor" | "aggregator";
export type Dashboard = "explore" | "connect" | "monitor" | "aggregator" | "eosc";
export type PortalType = "explore" | "connect" | "community" | "monitor" | "funder" | "ri" | "project" | "organization" | "aggregator" | "eosc";
export interface EnvProperties {