From 3b5e15aa4242cec5311a30306bd2227c40e17e0f Mon Sep 17 00:00:00 2001 From: fhanportainer <79428273+fhanportainer@users.noreply.github.com> Date: Fri, 20 Aug 2021 12:41:50 +1200 Subject: [PATCH] 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 --- .../stack-redeploy-git-form.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/portainer/components/forms/stack-redeploy-git-form/stack-redeploy-git-form.controller.js b/app/portainer/components/forms/stack-redeploy-git-form/stack-redeploy-git-form.controller.js index f4179817d..717c15333 100644 --- a/app/portainer/components/forms/stack-redeploy-git-form/stack-redeploy-git-form.controller.js +++ b/app/portainer/components/forms/stack-redeploy-git-form/stack-redeploy-git-form.controller.js @@ -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');