Fix spinners, change socket emit names

This commit is contained in:
Dane Everitt 2018-08-01 21:10:28 -07:00
parent 5ca6538965
commit f866ad5b34
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
3 changed files with 10 additions and 8 deletions

View file

@ -39,7 +39,7 @@
* logs from the server to populate into the terminal.
*/
mounted: function () {
this.$parent.$on('socket-connected', () => {
this.$parent.$on('socket::connected', () => {
this.terminal.open(this.$refs.terminal);
this.terminal.fit();
this.terminal.clear();
@ -52,7 +52,7 @@
this.terminal.writeln(data);
});
this.$parent.$on('socket-status', s => {
this.$parent.$on('socket::status', s => {
if (s === Status.STATUS_OFF) {
this.loadingConsole = false;
}