mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-20 00:53:26 +02:00
Show errors in case of Duplicate adbkey
This commit is contained in:
@@ -24,6 +24,10 @@ module.exports = function UserServiceFactory(
|
||||
socket.emit('user.keys.adb.remove', key)
|
||||
}
|
||||
|
||||
socket.on('user.keys.adb.error', function(error) {
|
||||
$rootScope.$broadcast('user.keys.adb.error', error)
|
||||
})
|
||||
|
||||
socket.on('user.keys.adb.added', function(key) {
|
||||
UserService.getAdbKeys().push(key)
|
||||
$rootScope.$broadcast('user.keys.adb.updated', user.adbKeys)
|
||||
|
||||
Reference in New Issue
Block a user