fix bug in instance delete
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
6530240677
commit
b94758c175
@ -388,7 +388,7 @@ export class Instance {
|
||||
|
||||
let result = await requestAPI("/instance", "DELETE", body);
|
||||
if (result.status === 200) {
|
||||
this.parentNode.removeChild(this);
|
||||
this.shadowElement.parentElement.removeChild(this.shadowElement);
|
||||
}
|
||||
else {
|
||||
alert(result.error);
|
||||
|
Loading…
Reference in New Issue
Block a user