From 5a249423b2b79cbcf5cc082e97d8c965d785b13d Mon Sep 17 00:00:00 2001
From: Traboulsi <salam.traboulsi@hft-stuttgart.de>
Date: Sat, 23 Dec 2023 16:00:13 +0000
Subject: [PATCH] Update public/js/add_content.js

---
 public/js/add_content.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/public/js/add_content.js b/public/js/add_content.js
index 1b816b8..a8d8a17 100644
--- a/public/js/add_content.js
+++ b/public/js/add_content.js
@@ -83,7 +83,7 @@ function addcontent(item) {
     }*/
     //-- debut
     var sdgProjectHTML = '';
-    if ('sdgImage' in item.item) {
+    if ('sdgImage' in item) {
     var sdgProjectLink = item.item.sdgImage;
     var customColor = '#8A2BE2';
     //var imageSize = '5px'; // Adjust this value to your desired size
-- 
GitLab