Fix delete instance in Design state

Original change was made in clamp repo
Change must also be added to gui repo
Downgraded material-table due to build-breaking dependency

Issue-ID: POLICY-3707
Change-Id: I708e867f6336c8bf34edc08156a731cc9439e763
Signed-off-by: saul.gill <saul.gill@est.tech>
diff --git a/gui-clamp/ui-react/package.json b/gui-clamp/ui-react/package.json
index 732a6b3..13d830e 100644
--- a/gui-clamp/ui-react/package.json
+++ b/gui-clamp/ui-react/package.json
@@ -34,7 +34,7 @@
         "@material-ui/pickers": "3.3.10",
         "bootstrap-css-only": "4.4.1",
         "js-yaml": "4.1.0",
-        "material-table": "1.68.1",
+        "material-table": "1.68.0",
         "react": "17.0.2",
         "react-bootstrap": "1.6.1",
         "react-dom": "17.0.2",
diff --git a/gui-clamp/ui-react/src/api/LoopActionService.js b/gui-clamp/ui-react/src/api/LoopActionService.js
index f3695c2..6f3b22f 100644
--- a/gui-clamp/ui-react/src/api/LoopActionService.js
+++ b/gui-clamp/ui-react/src/api/LoopActionService.js
@@ -32,7 +32,7 @@
     })
       .then(function (response) {
         if (response.ok) {
-          return response.json();
+          return response;
         } else {
           return Promise.reject("Perform action failed with code:" + response.status);
         }