1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-03 17:59:28 +02:00

Fix eslint errors

This commit is contained in:
Vishal Banthia 2016-02-03 17:22:05 +09:00
parent a875d85c46
commit b60cb6ef6a
7 changed files with 49 additions and 35 deletions

View file

@ -57,7 +57,9 @@ datautil.applyOwner = function(device, user) {
// Only owner can see this information
datautil.applyOwnerOnlyInfo = function(device, user) {
if (device.owner && device.owner.email === user.email) {
} else {
// No-op
}
else {
device.remoteConnect = false
device.remoteConnectUrl = null
}