Improve devices table ordering

This commit is contained in:
Juan Cruz Viotti 2014-11-19 15:01:27 -04:00
parent be01094463
commit 3f1bcf3f02

View File

@ -15,6 +15,7 @@ exports.list = authHooks.failIfNotLoggedIn (applicationId) ->
delete device.uuid
delete device.download_progress
return device
, [ 'ID', 'Name', 'Device Type', 'IP Address', 'Application', 'Status', 'Last Seen' ]
.catch (error) ->
throw error