reverting these lines from refactoring process

This commit is contained in:
Niels Lyngsø
2020-01-23 19:24:33 +01:00
parent 3672048c60
commit 535b762f6e

View File

@@ -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();
}