Fix spinners, change socket emit names
This commit is contained in:
parent
5ca6538965
commit
f866ad5b34
3 changed files with 10 additions and 8 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue