Skip to content

Commit

Permalink
Add sessionId to instance upon received event
Browse files Browse the repository at this point in the history
Fixes # 279
  • Loading branch information
marcosnils committed Jul 15, 2018
1 parent 14149d0 commit 1c6e5a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/assets/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@
});

socket.on('instance new', function(name, ip, hostname, proxyHost) {
var instance = $scope.upsertInstance({ name: name, ip: ip, hostname: hostname, proxy_host: proxyHost});
var instance = $scope.upsertInstance({ name: name, ip: ip, hostname: hostname, proxy_host: proxyHost, session_id: $scope.sessionId});
$scope.$apply(function() {
$scope.showInstance(instance);
});
Expand Down

0 comments on commit 1c6e5a7

Please sign in to comment.