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',
|
name: 'server',
|
||||||
mixins: [Socketio],
|
mixins: [Socketio],
|
||||||
components: {
|
components: {
|
||||||
Flash,
|
Flash, PowerButtons, ProgressBar, Navigation,
|
||||||
PowerButtons, ProgressBar, Navigation,
|
|
||||||
TerminalIcon, FolderIcon, UsersIcon, CalendarIcon, DatabaseIcon, GlobeIcon, SettingsIcon,
|
TerminalIcon, FolderIcon, UsersIcon, CalendarIcon, DatabaseIcon, GlobeIcon, SettingsIcon,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -96,12 +95,6 @@
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
sockets: {
|
|
||||||
'console': function () {
|
|
||||||
console.log('server CONSOLE');
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
mounted: function () {
|
mounted: function () {
|
||||||
this.loadServer();
|
this.loadServer();
|
||||||
},
|
},
|
||||||
|
@ -129,7 +122,9 @@
|
||||||
this.$socket().connect(socket);
|
this.$socket().connect(socket);
|
||||||
this.loadingServerData = false;
|
this.loadingServerData = false;
|
||||||
})
|
})
|
||||||
.catch(console.error);
|
.catch(err => {
|
||||||
|
console.error({ err });
|
||||||
|
});
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue