fix: await #2
This commit is contained in:
parent
1951aec5ec
commit
eed44e81be
@ -142,7 +142,7 @@
|
|||||||
});
|
});
|
||||||
onMount(async () => {
|
onMount(async () => {
|
||||||
loadBuildingStatusInterval = setInterval(() => {
|
loadBuildingStatusInterval = setInterval(() => {
|
||||||
application.previewApplication.forEach((preview: any) => {
|
application.previewApplication.forEach(async (preview: any) => {
|
||||||
if (status[id] === 'building') {
|
if (status[id] === 'building') {
|
||||||
await getStatus(preview);
|
await getStatus(preview);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user