fix: await #2
This commit is contained in:
parent
1951aec5ec
commit
eed44e81be
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue