Fix console not loading sometimes (#710)
This commit is contained in:
parent
b5ff41e74c
commit
65a36d35b7
2 changed files with 7 additions and 4 deletions
|
@ -37,6 +37,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
|
|||
* Fixes missing library issue for teamspeak when used with mariadb.
|
||||
* Fixes inability to change the default port on front-end when viewing a server.
|
||||
* Fixes bug preventing deletion of nests that have other nests referencing them as children.
|
||||
* Fixes console sometimes not loading properly on slow connections
|
||||
|
||||
### Removed
|
||||
* SFTP settings page now only displays connection address and username. Password setting was removed as it is no longer necessary with Daemon changes.
|
||||
|
|
|
@ -203,9 +203,11 @@ function pushToTerminal(string) {
|
|||
});
|
||||
|
||||
Socket.on('console', function (data) {
|
||||
data.line.split(/\n/g).forEach(function (item) {
|
||||
TerminalQueue.push(item);
|
||||
});
|
||||
if(data.line) {
|
||||
data.line.split(/\n/g).forEach(function (item) {
|
||||
TerminalQueue.push(item);
|
||||
});
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
||||
|
|
Loading…
Reference in a new issue