Immediately indicate if remote ssh is now enabled

This commit is contained in:
Johannes Zellner
2020-10-06 16:21:38 +02:00
parent 41e8bcd02f
commit 4274b8f459

View File

@@ -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;
});
});
};