SUPPORT-8638:fix from review(1)

This commit is contained in:
adel.kalimullin 2024-11-12 16:23:39 +03:00
parent c0ca6c413e
commit f43f799591
2 changed files with 4 additions and 4 deletions

View file

@ -1,9 +1,7 @@
import { Injectable } from '@angular/core';
import { BehaviorSubject } from 'rxjs';
@Injectable({
providedIn: 'root'
})
@Injectable()
export class FilterTransferService {
private filtersSource = new BehaviorSubject<Record<string, any>>({});
public currentFilters$ = this.filtersSource.asObservable();

View file

@ -28,6 +28,7 @@ import {TreeviewModule} from '../../component/external/ngx-treeview/lib/treeview
import {TreeviewComponent} from "../../component/external/ngx-treeview/lib/treeview.component";
import {TreeviewItemComponent} from "../../component/external/ngx-treeview/lib/treeview-item.component";
import {DataDateComponent} from "./component/data-date.component";
import {FilterTransferService} from "../../ervu-dashboard/FilterTransferService";
registerLocaleData(localeRu);
export const DIRECTIVES = [
@ -67,7 +68,8 @@ export const DIRECTIVES = [
DIRECTIVES
],
providers: [
{ provide: ProgressIndicationService, useClass: AppProgressIndicationService }
{ provide: ProgressIndicationService, useClass: AppProgressIndicationService },
FilterTransferService
],
bootstrap: [],
entryComponents: [AppProgressIndicationComponent]