diff --git a/front-end/meteor-device-spy/client/client.js b/front-end/meteor-device-spy/client/client.js index 4d3d2ea..d7ae321 100644 --- a/front-end/meteor-device-spy/client/client.js +++ b/front-end/meteor-device-spy/client/client.js @@ -2,7 +2,7 @@ Session.set("session_devices_type", "iPhone/iPod"); // ---------- Template.devices_list.device = function () { - return Devices.find({os_type : Session.get("session_devices_type")}, {sort: {checkin_date: -1}}); + return Devices.find({device_type : Session.get("session_devices_type")}, {sort: {checkin_date: -1}}); }; Template.devices_list.get_name_by_id = function () { diff --git a/front-end/meteor-device-spy/html/table.html b/front-end/meteor-device-spy/html/table.html index a01f802..2c11437 100644 --- a/front-end/meteor-device-spy/html/table.html +++ b/front-end/meteor-device-spy/html/table.html @@ -17,7 +17,7 @@