From 80465367a5f6e5160a3d018f54142506bc66c9dc Mon Sep 17 00:00:00 2001 From: itsconquest Date: Mon, 23 Aug 2021 12:05:57 +1200 Subject: [PATCH] fix(stacks): Remove unused functions in create stack controller [EE-1139] (#5401) --- .../views/stacks/create/createStackController.js | 8 -------- 1 file changed, 8 deletions(-) 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(''); };