mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
-Adding table ui for styling with style.
-Added device.update event so the table can reload it's data (watch would be an overkill).
This commit is contained in:
@@ -11,6 +11,8 @@ module.exports = function DeviceServiceFactory($rootScope, $http, socket) {
|
||||
, scopedSocket = socket.scoped($scope)
|
||||
|
||||
function notify() {
|
||||
$scope.$broadcast('devices.update', true)
|
||||
|
||||
// Not great. Consider something else
|
||||
if (!$scope.$$phase) {
|
||||
$scope.$digest()
|
||||
|
||||
Reference in New Issue
Block a user