From 26474d483636386dc7249ee2f507fa72a7bacbd1 Mon Sep 17 00:00:00 2001
From: Amira Abdel-Rahman <amira-rahman@aucegypt.edu>
Date: Sun, 13 Sep 2020 23:50:52 -0400
Subject: [PATCH] DEM Integration

---
 01_Code/physical_computing_interface/json/json.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/01_Code/physical_computing_interface/json/json.js b/01_Code/physical_computing_interface/json/json.js
index e79d856..5a4f81f 100644
--- a/01_Code/physical_computing_interface/json/json.js
+++ b/01_Code/physical_computing_interface/json/json.js
@@ -200,7 +200,7 @@ function initEditor(){
             // console.log(jsonString);
             // const json = editor.get();
             var json=JSON.parse(jsonString);
-            if(json.ipNode === undefined){
+            if(json.ur10Setup === undefined){
                 GLOBALS.updateNode(json);
             }else{
                 integratedSetup=json; //todo remove from here
-- 
GitLab