diff options
author | Sébastien Determe <sebastien.determe@intl.att.com> | 2020-04-14 08:11:58 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-04-14 08:11:58 +0000 |
commit | d3b04701712251befc0e92d96d8812029f5e313a (patch) | |
tree | 967e979402d701f994b0dd560edcded82cc058af /ui-react/src/components/dialogs/Loop/DeployLoopModal.js | |
parent | d2e5008edc93220a1117df5c864d828fbae9cc8d (diff) | |
parent | cc5fe51690dc1f780c6b7cd1168e59dedc3b245f (diff) |
Merge "Update suc alert color"
Diffstat (limited to 'ui-react/src/components/dialogs/Loop/DeployLoopModal.js')
-rw-r--r-- | ui-react/src/components/dialogs/Loop/DeployLoopModal.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui-react/src/components/dialogs/Loop/DeployLoopModal.js b/ui-react/src/components/dialogs/Loop/DeployLoopModal.js index d034ee5d7..5dacad13b 100644 --- a/ui-react/src/components/dialogs/Loop/DeployLoopModal.js +++ b/ui-react/src/components/dialogs/Loop/DeployLoopModal.js @@ -84,12 +84,12 @@ export default class DeployLoopModal extends React.Component { // save the global propserties LoopService.updateGlobalProperties(loopName, this.state.temporaryPropertiesJson).then(resp => { LoopActionService.performAction(loopName, "deploy").then(pars => { - this.props.showAlert("Action deploy successfully performed"); + this.props.showSucAlert("Action deploy successfully performed"); // refresh status and update loop logs this.refreshStatus(loopName); }) .catch(error => { - this.props.showAlert("Action deploy failed"); + this.props.showFailAlert("Action deploy failed"); // refresh status and update loop logs this.refreshStatus(loopName); }); @@ -103,7 +103,7 @@ export default class DeployLoopModal extends React.Component { this.props.updateLoopFunction(data); }) .catch(error => { - this.props.showAlert("Refresh status failed"); + this.props.showFailAlert("Refresh status failed"); }); } handleChange(event) { |