From 8b02f18e99cf10447a3c336db214c48baabe7410 Mon Sep 17 00:00:00 2001 From: Mert <101130780+mertalev@users.noreply.github.com> Date: Fri, 1 Mar 2024 14:16:07 -0500 Subject: [PATCH] fix(web): prevent duplicate calls to time bucket endpoint (#7563) --- web/src/lib/stores/assets.store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/lib/stores/assets.store.ts b/web/src/lib/stores/assets.store.ts index 66661fc9b5..9fde533936 100644 --- a/web/src/lib/stores/assets.store.ts +++ b/web/src/lib/stores/assets.store.ts @@ -207,7 +207,7 @@ export class AssetStore { bucket.position = position; - if (bucket.assets.length > 0) { + if (bucket.assets.length > 0 || bucket.cancelToken) { this.emit(false); return; }