summaryrefslogtreecommitdiffstats
path: root/gui-clamp/ui-react/src/api/LoopActionService.js
diff options
context:
space:
mode:
authorsaul.gill <saul.gill@est.tech>2021-10-08 15:19:46 +0100
committersaul.gill <saul.gill@est.tech>2021-10-08 17:10:52 +0100
commit896e9ea1698688e4ec1222fa90e06a05731863c4 (patch)
treec0fa551eadae34d90c9e24ca4efcc179268e58ad /gui-clamp/ui-react/src/api/LoopActionService.js
parent41d9f9f4b26166c27ef3c52a3f4f6aee7d866bb4 (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/src/api/LoopActionService.js')
-rw-r--r--gui-clamp/ui-react/src/api/LoopActionService.js2
1 files changed, 1 insertions, 1 deletions
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);
}