From 1951aec5ecaa162d34573752ec418143b93210f0 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 16 Sep 2022 15:20:17 +0200 Subject: [PATCH] fix: await --- 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 2c5010283..87cebca7c 100644 --- a/apps/ui/src/routes/applications/[id]/previews/index.svelte +++ b/apps/ui/src/routes/applications/[id]/previews/index.svelte @@ -144,7 +144,7 @@ loadBuildingStatusInterval = setInterval(() => { application.previewApplication.forEach((preview: any) => { if (status[id] === 'building') { - getStatus(preview); + await getStatus(preview); } }); }, 3000);