From d06667218ffd65b7d96071f52a271c1c5a826fab Mon Sep 17 00:00:00 2001 From: Anthony Lapenna Date: Tue, 7 Nov 2017 09:20:59 +0100 Subject: [PATCH] feat(container-edit): container edit/duplicate feature not experimental anymore (#1363) --- .../container/containerController.js | 23 +++++++------------ 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/app/components/container/containerController.js b/app/components/container/containerController.js index 2ab871f48..e7a18a95f 100644 --- a/app/components/container/containerController.js +++ b/app/components/container/containerController.js @@ -197,10 +197,7 @@ function ($q, $scope, $state, $transition$, $filter, Container, ContainerCommit, }; $scope.duplicate = function() { - ModalService.confirmExperimentalFeature(function (experimental) { - if(!experimental) { return; } - $state.go('actions.create.container', {from: $transition$.params().id}, {reload: true}); - }); + $state.go('actions.create.container', {from: $transition$.params().id}, {reload: true}); }; $scope.confirmRemove = function () { @@ -264,17 +261,13 @@ function ($q, $scope, $state, $transition$, $filter, Container, ContainerCommit, } $scope.recreate = function() { - ModalService.confirmExperimentalFeature(function (experimental) { - if(!experimental) { return; } - - ModalService.confirmContainerRecreation(function (result) { - if(!result) { return; } - var pullImage = false; - if (result[0]) { - pullImage = true; - } - recreateContainer(pullImage); - }); + ModalService.confirmContainerRecreation(function (result) { + if(!result) { return; } + var pullImage = false; + if (result[0]) { + pullImage = true; + } + recreateContainer(pullImage); }); };