Add box logs to support view

This commit is contained in:
Girish Ramakrishnan
2018-06-12 13:37:39 -07:00
parent aa32055aa8
commit e938886629
2 changed files with 21 additions and 0 deletions

View File

@@ -63,6 +63,10 @@ angular.module('Application').controller('SupportController', ['$scope', '$locat
}
};
$scope.showLogs = function () {
window.open('/logs.html?id=box', 'Logs', 'width=1024,height=800').focus();
};
Client.onReady(function () {
Client.getAuthorizedKeys(function (error, keys) {
if (error) return console.error(error);