interactive-apps/ngx-dhis2-validation-rule-filter

View on GitHub
projects/ngx-dhis2-validation-rule-filter/src/lib/containers/validation-rule-group/ngx-dhis2-validation-rule-filter.component.ts

Summary

Maintainability
A
3 hrs
Test Coverage

File ngx-dhis2-validation-rule-filter.component.ts has 264 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import { Component, OnInit, EventEmitter, Output, Input } from '@angular/core';
import * as _ from 'lodash';
import { Store } from '@ngrx/store';
import { Observable } from 'rxjs';
import { State } from '../../store/reducers/validation-rule-groups.reducers';

    Function ngOnInit has 31 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      ngOnInit() {
        this.currentPageAvailable = 1;
        this.store.select(getAllValidationRuleGroups);
        this.store.dispatch(new LoadValidationRuleGroups(this.dataSelection));
        this.store

      There are no issues that match your filters.

      Category
      Status