fix waitFor issue

This commit is contained in:
Arthur Lu 2022-12-17 16:35:51 -08:00
parent 46da693292
commit 12927fd8a4

View File

@ -70,7 +70,7 @@ class Instance extends HTMLElement {
if(data.data.status === targetStatus) {
break;
}
waitFor(1000);
await waitFor(1000);
}
this.status = targetStatus;
let typeImg = this.shadowElement.querySelector("#instance-type");