[Library | new-theme]: [Bug fix] dataProvider.component.ts: Set typeQueryPathParam="services" when ?pid in url and type=="service".
This commit is contained in:
parent
0946bd73b5
commit
5ae738f155
|
@ -190,6 +190,9 @@ export class DataProviderComponent {
|
|||
this.initMetaAndLinks("service");
|
||||
} else if (data["pid"]) {
|
||||
this.identifier = Identifier.getIdentifierFromString(decodeURIComponent(data["pid"]), false);
|
||||
if(this.type == "service") {
|
||||
this.typeQueryPathParam = "services";
|
||||
}
|
||||
this.initMetaAndLinks(this.type);
|
||||
}
|
||||
if (this.datasourceId && StringUtils.isOpenAIREID(this.datasourceId) || (this.identifier)) {
|
||||
|
|
Loading…
Reference in New Issue