Remove IP Address from devices list

Some devices have a very long set of ips.
This commit is contained in:
Juan Cruz Viotti 2014-12-23 08:44:13 -04:00
parent 8d08affcd8
commit 634653609e

View File

@ -18,7 +18,7 @@ exports.list = permissions.user (params) ->
delete device.uuid
delete device.download_progress
return device
, [ 'ID', 'Name', 'Device Type', 'Is Online', 'IP Address', 'Application', 'Status', 'Last Seen' ]
, [ 'ID', 'Name', 'Device Type', 'Is Online', 'Application', 'Status', 'Last Seen' ]
exports.info = permissions.user (params) ->
resin.models.device.get params.id, (error, device) ->