RED-5515: Fixed all notifications not loading on refresh.
This commit is contained in:
parent
4e951241a4
commit
0fe90bbc0b
@ -28,6 +28,9 @@ export class NotificationsService extends EntitiesService<INotification, Notific
|
||||
) {
|
||||
super();
|
||||
|
||||
const prepareDossierCache = this._dossiersCacheService.empty ? of(this._dossiersCacheService.load()) : of(null);
|
||||
prepareDossierCache.pipe(switchMap(() => this.loadAll())).subscribe();
|
||||
|
||||
timer(0, CHANGED_CHECK_INTERVAL)
|
||||
.pipe(
|
||||
switchMap(() => (this._dossiersCacheService.empty ? this._dossiersCacheService.load() : of(null))),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user