diff options
Diffstat (limited to 'gui-clamp/ui-react/src/components/dialogs/ControlLoop/DeleteToscaTemplate.js')
-rw-r--r-- | gui-clamp/ui-react/src/components/dialogs/ControlLoop/DeleteToscaTemplate.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gui-clamp/ui-react/src/components/dialogs/ControlLoop/DeleteToscaTemplate.js b/gui-clamp/ui-react/src/components/dialogs/ControlLoop/DeleteToscaTemplate.js index 7968fe2..c2703cc 100644 --- a/gui-clamp/ui-react/src/components/dialogs/ControlLoop/DeleteToscaTemplate.js +++ b/gui-clamp/ui-react/src/components/dialogs/ControlLoop/DeleteToscaTemplate.js @@ -30,7 +30,12 @@ const DeleteToscaTemplate = props => { const response = await ControlLoopService.deleteToscaTemplate(props.templateName, props.templateVersion) .catch(error => error.message); - console.log('Response is ok: ' + response.ok); + if(!response.ok) { + console.log('deleteTemplateHandler called with error'); + } else { + console.log('deleteTemplateHandler called'); + } + // console.log('Response is ok: ' + response.ok); props.onDeleteToscaServiceTemplate(response); |