fix waitFor issue
This commit is contained in:
parent
14e35fe670
commit
aacb2cb86d
@ -70,7 +70,7 @@ class Instance extends HTMLElement {
|
|||||||
if(data.data.status === targetStatus) {
|
if(data.data.status === targetStatus) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
waitFor(1000);
|
await waitFor(1000);
|
||||||
}
|
}
|
||||||
this.status = targetStatus;
|
this.status = targetStatus;
|
||||||
let typeImg = this.shadowElement.querySelector("#instance-type");
|
let typeImg = this.shadowElement.querySelector("#instance-type");
|
||||||
|
Loading…
Reference in New Issue
Block a user