Fix delete instance in Design state 69/124769/1
authorsaul.gill <saul.gill@est.tech>
Fri, 8 Oct 2021 14:19:46 +0000 (15:19 +0100)
committersaul.gill <saul.gill@est.tech>
Fri, 8 Oct 2021 16:10:52 +0000 (17:10 +0100)
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>
gui-clamp/ui-react/package.json
gui-clamp/ui-react/src/api/LoopActionService.js

index 732a6b3..13d830e 100644 (file)
@@ -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",
index f3695c2..6f3b22f 100644 (file)
@@ -32,7 +32,7 @@ export default class LoopActionService {
     })
       .then(function (response) {
         if (response.ok) {
-          return response.json();
+          return response;
         } else {
           return Promise.reject("Perform action failed with code:" + response.status);
         }