this._appService.onLoggerError(1);
private __loggerSource = new BehaviorSubject(0);
__loggerError$ = this.__loggerSource.asObservable();
onLoggerError(code: number){
this.__loggerSource.next(code);
this._router.navigate(['error']);
}
this._subscription = this._appService.__loggerError$
.subscribe(item => {
this._messageErrorCode = item
})
.pipe(uncss({
html: ['index.html'],
ignore: [
".fade",
".fade.in",
".collapse",
".collapse.in",
".collapsing",
".alert-danger",
".open",
"/open+/"
]
}))