Rename "isOwnedByUser" to "using".

This commit is contained in:
Simo Kinnunen
2014-03-18 15:19:39 +09:00
parent 30b04ab2d2
commit 022977886c
3 changed files with 3 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ module.exports = function DeviceServiceFactory($rootScope, $http, socket) {
// preparations are ready AND the device has no owner or we are the
// owner
data.usable = data.present && data.status === 3 && data.ready &&
(!data.owner || data.isOwnedByUser)
(!data.owner || data.using)
}
function get(data) {