Browse Source

fix: avoid lint errors

pull/3956/head
Arman Ozak 6 years ago
parent
commit
d4cdbd4e8a
  1. 5
      npm/ng-packs/packages/core/src/lib/services/list.service.ts

5
npm/ng-packs/packages/core/src/lib/services/list.service.ts

@ -1,4 +1,4 @@
import { Inject, Injectable, Optional } from '@angular/core';
import { Inject, Injectable, OnDestroy, Optional } from '@angular/core';
import { BehaviorSubject, Observable, ReplaySubject } from 'rxjs';
import { debounceTime, shareReplay, switchMap, tap } from 'rxjs/operators';
import { ABP } from '../models/common';
@ -7,7 +7,7 @@ import { LIST_QUERY_DEBOUNCE_TIME } from '../tokens/list.token';
import { takeUntilDestroy } from '../utils/rxjs-utils';
@Injectable()
export class ListService {
export class ListService implements OnDestroy {
private _filter = '';
set filter(value: string) {
this._filter = value;
@ -37,7 +37,6 @@ export class ListService {
private _sortKey = '';
set sortKey(value: string) {
console.log(value);
this._sortKey = value;
this.get();
}

Loading…
Cancel
Save