diff --git a/app/portainer/views/stacks/create/createStackController.js b/app/portainer/views/stacks/create/createStackController.js index fd4d66bb1..30e14cd59 100644 --- a/app/portainer/views/stacks/create/createStackController.js +++ b/app/portainer/views/stacks/create/createStackController.js @@ -68,14 +68,6 @@ angular $scope.onChangeFormValues = onChangeFormValues; - $scope.addEnvironmentVariable = function () { - $scope.formValues.Env.push({ name: '', value: '' }); - }; - - $scope.removeEnvironmentVariable = function (index) { - $scope.formValues.Env.splice(index, 1); - }; - $scope.addAdditionalFiles = function () { $scope.formValues.AdditionalFiles.push(''); };