From 535b762f6eeddfd30d7c433867e3a6ba3271ef01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Thu, 23 Jan 2020 19:24:33 +0100 Subject: [PATCH] reverting these lines from refactoring process --- .../components/content/umbvariantcontenteditors.directive.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/components/content/umbvariantcontenteditors.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/components/content/umbvariantcontenteditors.directive.js index 1c41c7d0f0..d1f70a50a5 100644 --- a/src/Umbraco.Web.UI.Client/src/common/directives/components/content/umbvariantcontenteditors.directive.js +++ b/src/Umbraco.Web.UI.Client/src/common/directives/components/content/umbvariantcontenteditors.directive.js @@ -43,9 +43,6 @@ /** Called when the component initializes */ function onInit() { prevContentDateUpdated = angular.copy(vm.content.updateDate); - _.each(vm.content.variants, function (v) { - v.active = false;// needs to be set before used for it to be re-active. - }); setActiveVariant(); }