Refresh device list: use HListView.uncheckAll()
This commit is contained in:
parent
d058926902
commit
74784803f5
|
@ -31,7 +31,7 @@ HColumnPage {
|
||||||
|
|
||||||
function loadDevices() {
|
function loadDevices() {
|
||||||
loadFuture = py.callClientCoro(userId, "devices_info", [], devices => {
|
loadFuture = py.callClientCoro(userId, "devices_info", [], devices => {
|
||||||
deviceList.checked = {}
|
deviceList.uncheckAll()
|
||||||
deviceList.model.clear()
|
deviceList.model.clear()
|
||||||
|
|
||||||
for (const device of devices)
|
for (const device of devices)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user