fix: await #2

This commit is contained in:
Andras Bacsai 2022-09-16 15:20:45 +02:00
parent 1951aec5ec
commit eed44e81be

View File

@ -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);
}