summaryrefslogtreecommitdiffstats
path: root/ui-react/src/components/dialogs/PerformActions.js
diff options
context:
space:
mode:
authorSébastien Determe <sebastien.determe@intl.att.com>2020-04-14 08:11:58 +0000
committerGerrit Code Review <gerrit@onap.org>2020-04-14 08:11:58 +0000
commitd3b04701712251befc0e92d96d8812029f5e313a (patch)
tree967e979402d701f994b0dd560edcded82cc058af /ui-react/src/components/dialogs/PerformActions.js
parentd2e5008edc93220a1117df5c864d828fbae9cc8d (diff)
parentcc5fe51690dc1f780c6b7cd1168e59dedc3b245f (diff)
Merge "Update suc alert color"
Diffstat (limited to 'ui-react/src/components/dialogs/PerformActions.js')
-rw-r--r--ui-react/src/components/dialogs/PerformActions.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui-react/src/components/dialogs/PerformActions.js b/ui-react/src/components/dialogs/PerformActions.js
index 66b19286..cf5a3c20 100644
--- a/ui-react/src/components/dialogs/PerformActions.js
+++ b/ui-react/src/components/dialogs/PerformActions.js
@@ -52,12 +52,12 @@ export default class PerformActions extends React.Component {
const loopName = this.state.loopName;
LoopActionService.performAction(loopName, action).then(pars => {
- this.props.showAlert("Action " + action + " successfully performed");
+ this.props.showSucAlert("Action " + action + " successfully performed");
// refresh status and update loop logs
this.refreshStatus(loopName);
})
.catch(error => {
- this.props.showAlert("Action " + action + " failed");
+ this.props.showFailAlert("Action " + action + " failed");
// refresh status and update loop logs
this.refreshStatus(loopName);
});