mirror of
https://github.com/openstf/stf
synced 2025-10-04 10:19:30 +02:00
fix bug on screen field displaying of devices settings tab
This commit is contained in:
parent
e461498e84
commit
36f227aae1
1 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,7 @@ module.exports = function DevicesCtrl(
|
|||
|
||||
function initScope() {
|
||||
DevicesService.getOboeDevices('user', deviceFields, function(device) {
|
||||
addDevice(device, -1)
|
||||
addDevice(publishDevice(device), -1)
|
||||
})
|
||||
.done(function() {
|
||||
$scope.$digest()
|
||||
|
@ -153,7 +153,7 @@ module.exports = function DevicesCtrl(
|
|||
}
|
||||
|
||||
$scope.$on('user.settings.devices.created', function(event, message) {
|
||||
addDevice(message.device, message.timeStamp)
|
||||
addDevice(publishDevice(message.device), message.timeStamp)
|
||||
})
|
||||
|
||||
$scope.$on('user.settings.devices.deleted', function(event, message) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue