Refresh device list: use HListView.uncheckAll()

This commit is contained in:
miruka 2020-06-26 06:11:36 -04:00
parent d058926902
commit 74784803f5

View File

@ -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)