Cleanup
This commit is contained in:
parent
68b23de55d
commit
58f8ec338b
1 changed files with 4 additions and 9 deletions
|
@ -80,8 +80,7 @@
|
|||
name: 'server',
|
||||
mixins: [Socketio],
|
||||
components: {
|
||||
Flash,
|
||||
PowerButtons, ProgressBar, Navigation,
|
||||
Flash, PowerButtons, ProgressBar, Navigation,
|
||||
TerminalIcon, FolderIcon, UsersIcon, CalendarIcon, DatabaseIcon, GlobeIcon, SettingsIcon,
|
||||
},
|
||||
|
||||
|
@ -96,12 +95,6 @@
|
|||
};
|
||||
},
|
||||
|
||||
sockets: {
|
||||
'console': function () {
|
||||
console.log('server CONSOLE');
|
||||
},
|
||||
},
|
||||
|
||||
mounted: function () {
|
||||
this.loadServer();
|
||||
},
|
||||
|
@ -129,7 +122,9 @@
|
|||
this.$socket().connect(socket);
|
||||
this.loadingServerData = false;
|
||||
})
|
||||
.catch(console.error);
|
||||
.catch(err => {
|
||||
console.error({ err });
|
||||
});
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue