Commit 7cecf38e authored by Célia Michotey's avatar Célia Michotey
Browse files

Add missing 'gnpis' in study source URL check.

parent a2d0a8ee
...@@ -30,7 +30,7 @@ export class DocumentComponent implements OnInit { ...@@ -30,7 +30,7 @@ export class DocumentComponent implements OnInit {
// TODO: index URGI schema:identifier like the partners // TODO: index URGI schema:identifier like the partners
getRouterLink() { getRouterLink() {
const urgiStudy = this.document['schema:includedInDataCatalog']['schema:url'] === 'https://urgi.versailles.inra.fr'; const urgiStudy = this.document['schema:includedInDataCatalog']['schema:url'] === 'https://urgi.versailles.inra.fr/gnpis/';
for (const type of this.document['@type']) { for (const type of this.document['@type']) {
const cardUrl = DocumentComponent.CARD_TYPE[type]; const cardUrl = DocumentComponent.CARD_TYPE[type];
if (cardUrl === 'studies') { if (cardUrl === 'studies') {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment