diff options
author | saul.gill <saul.gill@est.tech> | 2021-10-08 15:19:46 +0100 |
---|---|---|
committer | saul.gill <saul.gill@est.tech> | 2021-10-08 17:10:52 +0100 |
commit | 896e9ea1698688e4ec1222fa90e06a05731863c4 (patch) | |
tree | c0fa551eadae34d90c9e24ca4efcc179268e58ad /gui-clamp/ui-react | |
parent | 41d9f9f4b26166c27ef3c52a3f4f6aee7d866bb4 (diff) |
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>
Diffstat (limited to 'gui-clamp/ui-react')
-rw-r--r-- | gui-clamp/ui-react/package.json | 2 | ||||
-rw-r--r-- | gui-clamp/ui-react/src/api/LoopActionService.js | 2 |
2 files changed, 2 insertions, 2 deletions
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 @@ 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); } |