public/js/controllers/admin/account-rights-edit.js
Avoid deeply nested control flow statements. Open
Open
if ($scope.accountRights[i].to) {
$scope.accountRights[i].to = new Date($scope.accountRights[i].to);
}
Avoid deeply nested control flow statements. Open
Open
if ($scope.accountRights[i].from) {
$scope.accountRights[i].from = new Date($scope.accountRights[i].from);
}