From eed44e81bed7762d95b4b401c627a25cfb5cad62 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 16 Sep 2022 15:20:45 +0200 Subject: [PATCH] fix: await #2 --- apps/ui/src/routes/applications/[id]/previews/index.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ui/src/routes/applications/[id]/previews/index.svelte b/apps/ui/src/routes/applications/[id]/previews/index.svelte index 87cebca7c..0e00cd3a9 100644 --- a/apps/ui/src/routes/applications/[id]/previews/index.svelte +++ b/apps/ui/src/routes/applications/[id]/previews/index.svelte @@ -142,7 +142,7 @@ }); onMount(async () => { loadBuildingStatusInterval = setInterval(() => { - application.previewApplication.forEach((preview: any) => { + application.previewApplication.forEach(async (preview: any) => { if (status[id] === 'building') { await getStatus(preview); }