From 09114659ac710c73e64bf4eb280628353478824e Mon Sep 17 00:00:00 2001 From: Traboulsi <salam.traboulsi@hft-stuttgart.de> Date: Sat, 23 Dec 2023 16:26:34 +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 a086a5b..d90af4b 100644 --- a/public/js/add_content.js +++ b/public/js/add_content.js @@ -75,7 +75,7 @@ function addcontent(item) { // Salam: // Add this line to define sdgImageHTML var sdgProjectHTML = ''; - if ('sdgImage' in item.item) { + if ('sdgImage' in item) { var sdgProjectLink = item.sdgImage; var customColor = '#8A2BE2'; -- GitLab