mirror of https://github.com/portainer/portainer
fix(stack): show success notification when redeploy succeeds (#5441)
* fix(stack): show success notification when redeploy succeeds * Update app/portainer/components/forms/stack-redeploy-git-form/stack-redeploy-git-form.controller.js Co-authored-by: itsconquest <william.conquest@portainer.io>pull/5456/head
parent
141ee11799
commit
3b5e15aa42
|
@ -68,7 +68,7 @@ class StackRedeployGitFormController {
|
|||
this.state.redeployInProgress = true;
|
||||
|
||||
await this.StackService.updateGit(this.stack.Id, this.stack.EndpointId, this.FormHelper.removeInvalidEnvVars(this.formValues.Env), false, this.formValues);
|
||||
|
||||
this.Notifications.success('Pulled and redeployed stack successfully');
|
||||
await this.$state.reload();
|
||||
} catch (err) {
|
||||
this.Notifications.error('Failure', err, 'Failed redeploying stack');
|
||||
|
|
Loading…
Reference in New Issue