projects/ngx-dhis2-validation-rule-filter/src/lib/containers/validation-rule-group/ngx-dhis2-validation-rule-filter.component.ts
File ngx-dhis2-validation-rule-filter.component.ts
has 264 lines of code (exceeds 250 allowed). Consider refactoring. Open
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
Open
ngOnInit() {
this.currentPageAvailable = 1;
this.store.select(getAllValidationRuleGroups);
this.store.dispatch(new LoadValidationRuleGroups(this.dataSelection));
this.store