diff --git a/Code.js b/Code.js index cd39012..150de28 100644 --- a/Code.js +++ b/Code.js @@ -185,8 +185,8 @@ function listChomeDevices() { var rows = [], data; - for (i = 0; i < dataSet.length; i++) { - data = dataSet[i]; + for (i = 0; i < allDevices.length; i++) { + data = allDevices[i]; rows.push([data.id, data.name]); }