Opetushallitus/eperusteet-opintopolku

View on GitHub
eperusteet-opintopolku-app/yo/app/scripts/views/ops/yleisetperusopetusoppiaineet.ts

Summary

Maintainability
A
40 mins
Test Coverage

Consider simplifying this complex logical expression.
Open

            if (
                (_.endsWith($state.current.name, "vlk") && !presentVuosi() && $scope.vlkst.length) ||
                (_.endsWith($state.current.name, "vuosiluokat") && !presentVuosi() && $scope.vlkst.length)
            ) {
                $state.go("root.ops.perusopetus.oppiaineet.vlk.vuosiluokat", {

    There are no issues that match your filters.

    Category
    Status