mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-10 04:25:08 +00:00
Fixed the Loading bar service small issue
This commit is contained in:
parent
1aa79c257b
commit
224bbf479a
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user