diff --git a/app/portainer/components/forms/stack-redeploy-git-form/index.js b/app/portainer/components/forms/stack-redeploy-git-form/index.js
index 2372e8b58..a9db1dc96 100644
--- a/app/portainer/components/forms/stack-redeploy-git-form/index.js
+++ b/app/portainer/components/forms/stack-redeploy-git-form/index.js
@@ -7,6 +7,7 @@ export const stackRedeployGitForm = {
bindings: {
model: '<',
stack: '<',
+ endpoint: '<',
},
};
diff --git a/app/portainer/components/forms/stack-redeploy-git-form/stack-redeploy-git-form.html b/app/portainer/components/forms/stack-redeploy-git-form/stack-redeploy-git-form.html
index abb70eb6c..273964a58 100644
--- a/app/portainer/components/forms/stack-redeploy-git-form/stack-redeploy-git-form.html
+++ b/app/portainer/components/forms/stack-redeploy-git-form/stack-redeploy-git-form.html
@@ -36,7 +36,7 @@
explanation="These values will be used as substitutions in the stack file"
on-change="($ctrl.onChangeEnvVar)"
>
-
+