From b7662347c94aa91cbc1deef9126ac1df8c9b1dfd Mon Sep 17 00:00:00 2001 From: softsimon Date: Sun, 28 Aug 2022 20:52:48 +0200 Subject: [PATCH] Trying 1500ms pre-load delay --- frontend/src/app/app.preloading-strategy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/app.preloading-strategy.ts b/frontend/src/app/app.preloading-strategy.ts index 4213c2c87..f62d072da 100644 --- a/frontend/src/app/app.preloading-strategy.ts +++ b/frontend/src/app/app.preloading-strategy.ts @@ -4,7 +4,7 @@ import { Observable, timer, mergeMap, of } from 'rxjs'; export class AppPreloadingStrategy implements PreloadingStrategy { preload(route: Route, load: Function): Observable { return route.data && route.data.preload - ? timer(800).pipe(mergeMap(() => load())) + ? timer(1500).pipe(mergeMap(() => load())) : of(null); } }