Immediately indicate if remote ssh is now enabled
This commit is contained in:
@@ -61,6 +61,13 @@ angular.module('Application').controller('SupportController', ['$scope', '$locat
|
||||
}
|
||||
|
||||
$scope.feedback.busy = false;
|
||||
|
||||
// refresh state
|
||||
Client.getRemoteSupport(function (error, enabled) {
|
||||
if (error) return console.error(error);
|
||||
|
||||
$scope.sshSupportEnabled = enabled;
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user