Skip to content
Snippets Groups Projects
Commit 52584e8b authored by Jean-Baptiste Pasquier's avatar Jean-Baptiste Pasquier
Browse files

fix: missing properties producers

parent 6a872122
No related branches found
Tags v1.3.31
No related merge requests found
Pipeline #17366 passed with stage
in 52 seconds
......@@ -91,7 +91,7 @@ importCore().then(core => {
}
let supportingEvidence = await this._getProxyValue(await resource["ofn:hasSupportingEvidence"]);
let certifications = await this._getProxyValue(await resource["ofn:hasCertifications"]);
let resources = [...supportingEvidence['ldp:contains'], ...certifications['ldp:contains']];
let resources = [...(supportingEvidence['ldp:contains'] || []), ...(certifications['ldp:contains'] || [])];
let filters = this._generateFilters(resources);
this.currentProducer = resource['@id'];
return {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment