mirror of
https://github.com/openstf/stf
synced 2025-10-04 18:29:17 +02:00
Better device present/absent handling by separating it from the status event.
This commit is contained in:
parent
f432dc9fb9
commit
2086d7d439
9 changed files with 147 additions and 39 deletions
|
@ -16,6 +16,11 @@ define(['./module', 'lodash'], function(mod, _) {
|
|||
$rootScope.$digest()
|
||||
})
|
||||
|
||||
socket.on('device.absent', function(data) {
|
||||
_.pull(groupService.members, data.serial)
|
||||
$rootScope.$digest()
|
||||
})
|
||||
|
||||
groupService.invite = function(requirements) {
|
||||
socket.emit('group.invite', requirements)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue