mirror of
https://github.com/openstf/stf
synced 2025-10-04 18:29:17 +02:00
Add owners to groups.
This commit is contained in:
parent
3e7d91cb91
commit
37303c5d92
8 changed files with 98 additions and 70 deletions
|
@ -51,6 +51,16 @@ define(['./module', 'oboe'], function(mod, oboe) {
|
|||
modify(get(data), data)
|
||||
})
|
||||
|
||||
socket.on('group.join', function(data) {
|
||||
modify(get(data), data)
|
||||
})
|
||||
|
||||
socket.on('group.leave', function(data) {
|
||||
modify(get(data), {
|
||||
owner: null
|
||||
})
|
||||
})
|
||||
|
||||
oboe('/api/v1/devices')
|
||||
.node('devices[*]', function(device) {
|
||||
// We want to skip other arguments
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue