Feature/reload data on logo click (#2959)
* Reload data on logo click * Update changelogpull/2963/head^2
parent
cc1d9811e0
commit
e7d4641d13
@ -0,0 +1,19 @@
|
|||||||
|
import { Injectable } from '@angular/core';
|
||||||
|
import { Observable, Subject } from 'rxjs';
|
||||||
|
|
||||||
|
@Injectable({
|
||||||
|
providedIn: 'root'
|
||||||
|
})
|
||||||
|
export class LayoutService {
|
||||||
|
public shouldReloadContent$: Observable<void>;
|
||||||
|
|
||||||
|
private shouldReloadSubject = new Subject<void>();
|
||||||
|
|
||||||
|
public constructor() {
|
||||||
|
this.shouldReloadContent$ = this.shouldReloadSubject.asObservable();
|
||||||
|
}
|
||||||
|
|
||||||
|
public getShouldReloadSubject() {
|
||||||
|
return this.shouldReloadSubject;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue