add value to .next()

This commit is contained in:
Dan Percic 2022-01-17 14:17:38 +02:00
parent ff9dad3ce7
commit d11b54bb11
2 changed files with 3 additions and 3 deletions

View File

@ -60,11 +60,11 @@ export class ErrorService {
}
setOnline(): void {
this._online$.next();
this._online$.next(true);
}
clear(): void {
this._error$.next();
this._error$.next(undefined);
}
private _offline() {

View File

@ -34,7 +34,7 @@ export class FilterService {
}
refresh(): void {
this._refresh$.next();
this._refresh$.next(true);
}
toggleFilter(filterGroupSlug: string, key: string): void {