From 896e9ea1698688e4ec1222fa90e06a05731863c4 Mon Sep 17 00:00:00 2001 From: "saul.gill" Date: Fri, 8 Oct 2021 15:19:46 +0100 Subject: 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 --- gui-clamp/ui-react/src/api/LoopActionService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui-clamp/ui-react/src/api/LoopActionService.js') 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); } -- cgit 1.2.3-korg