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