Fixed the Loading bar service small issue

This commit is contained in:
Sercan Yemen 2018-07-02 11:42:03 +03:00
parent 1aa79c257b
commit 224bbf479a

View File

@ -1,7 +1,7 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { NavigationEnd, NavigationStart, Router } from '@angular/router'; import { NavigationEnd, NavigationStart, Router } from '@angular/router';
import { BehaviorSubject, Observable } from 'rxjs'; import { BehaviorSubject, Observable } from 'rxjs';
import { filter, takeUntil } from 'rxjs/operators'; import { filter } from 'rxjs/operators';
@Injectable() @Injectable()
export class FuseLoadingBarService export class FuseLoadingBarService
@ -26,7 +26,7 @@ export class FuseLoadingBarService
// @ Accessors // @ Accessors
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------
get visible(): Observable get visible(): Observable<any>
{ {
// Return the _visible as observable // Return the _visible as observable
return this._visible.asObservable(); return this._visible.asObservable();