gadael/gadael

View on GitHub
public/js/controllers/admin/account-rights-edit.js

Summary

Maintainability
A
1 hr
Test Coverage

Avoid deeply nested control flow statements.
Open

                                    if ($scope.accountRights[i].to) {
                                        $scope.accountRights[i].to = new Date($scope.accountRights[i].to);
                                    }
Severity: Major
Found in public/js/controllers/admin/account-rights-edit.js - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                                        if ($scope.accountRights[i].from) {
                                            $scope.accountRights[i].from = new Date($scope.accountRights[i].from);
                                        }
    Severity: Major
    Found in public/js/controllers/admin/account-rights-edit.js - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status