fix the thing
This commit is contained in:
parent
d15ca0832c
commit
9f89c4fa96
1 changed files with 2 additions and 2 deletions
|
@ -150,7 +150,7 @@ function connect() {
|
|||
row.querySelectorAll('button').forEach(x => x.remove());
|
||||
}
|
||||
if (data.status === 'canceled') {
|
||||
row.querySelectorALL('.device_status').forEach(x => x.remove());
|
||||
row.querySelectorAll('.device_status').forEach(x => x.remove());
|
||||
}
|
||||
{% endif %}
|
||||
break;
|
||||
|
@ -218,7 +218,7 @@ function connect() {
|
|||
var total = parseInt(row.querySelector('.total_bytes').innerText);
|
||||
row.querySelector('.received_bytes').innerText = data.msg.received_bytes;
|
||||
row.querySelector('progress').value = data.msg.received_bytes;
|
||||
row.querySelector('.device_status').forEach(x => x.innerText = ' / '+data.msg.status);
|
||||
row.querySelectorAll('.device_status').forEach(x => x.innerText = ' / '+data.msg.status);
|
||||
row.querySelectorAll('.auto-apply a').forEach(x => x.innerText = data.msg.auto_apply ? 'yes' : 'no');
|
||||
row.querySelectorAll('.auto-reboot a').forEach(x => x.innerText = data.msg.auto_reboot ? 'yes' : 'no');
|
||||
row.querySelectorAll('button[name=apply]').forEach(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue