From 52584e8b4d843005ffd5904690ede8292ba56614 Mon Sep 17 00:00:00 2001
From: Jean-Baptiste Pasquier <contact@jbpasquier.eu>
Date: Wed, 6 Mar 2024 18:04:21 +0100
Subject: [PATCH] fix: missing properties producers

---
 src/components/partials/supporting-evidence.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/partials/supporting-evidence.js b/src/components/partials/supporting-evidence.js
index c85a038..8b2f421 100644
--- a/src/components/partials/supporting-evidence.js
+++ b/src/components/partials/supporting-evidence.js
@@ -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 {
-- 
GitLab