Add property errorLink
This commit is contained in:
parent
92bbbf5173
commit
8849f12ae2
|
@ -341,7 +341,7 @@ export class AppComponent implements OnInit, OnDestroy {
|
|||
}
|
||||
}
|
||||
}else if (this.community && this.community.status == "hidden") {
|
||||
this.router.navigate(['/error']);
|
||||
this.router.navigate([this.properties.errorLink]);
|
||||
}else{
|
||||
this.router.navigate(['/'], this.community && this.community.status ? { queryParamsHandling: "merge" } : {});
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit bc5f5860f955c47eb4205e7dc6f2d2450d5edaf6
|
||||
Subproject commit 6663dee50814c4e6efb196cc02aa0ec59e715e68
|
|
@ -102,6 +102,7 @@ export let properties: EnvProperties = {
|
|||
searchLinkToAdvancedDataProviders: "/search/advanced/dataproviders",
|
||||
searchLinkToAdvancedOrganizations: "/search/advanced/organizations",
|
||||
searchLinkToAdvancedResults: "/search/advanced/research-outcomes",
|
||||
errorLink: '/error',
|
||||
lastIndexInformationLink: "https://beta.openaire.eu/aggregation-and-content-provision-workflows",
|
||||
showLastIndexInformationLink: true,
|
||||
widgetLink: "https://beta.openaire.eu/index.php?option=com_openaire&view=widget&format=raw&projectId=",
|
||||
|
|
|
@ -102,6 +102,7 @@ export let properties: EnvProperties = {
|
|||
searchLinkToAdvancedDataProviders: "/search/advanced/dataproviders",
|
||||
searchLinkToAdvancedOrganizations: "/search/advanced/organizations",
|
||||
searchLinkToAdvancedResults: "/search/advanced/research-outcomes",
|
||||
errorLink: '/error',
|
||||
lastIndexInformationLink: "https://www.openaire.eu/aggregation-and-content-provision-workflows",
|
||||
showLastIndexInformationLink: true,
|
||||
widgetLink: "https://www.openaire.eu/index.php?option=com_openaire&view=widget&format=raw&projectId=",
|
||||
|
|
|
@ -107,6 +107,7 @@ export let properties: EnvProperties = {
|
|||
searchLinkToAdvancedDataProviders: '/search/advanced/dataproviders',
|
||||
searchLinkToAdvancedOrganizations: '/search/advanced/organizations',
|
||||
searchLinkToAdvancedResults: '/search/advanced/research-outcomes',
|
||||
errorLink: '/error',
|
||||
lastIndexInformationLink: 'https://beta.openaire.eu/aggregation-and-content-provision-workflows',
|
||||
showLastIndexInformationLink: true,
|
||||
widgetLink: 'https://beta.openaire.eu/index.php?option=com_openaire&view=widget&format=raw&projectId=',
|
||||
|
|
Loading…
Reference in New Issue