From 58f8ec338bfe943da8062f6baa89b9b3681727f5 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sat, 18 Aug 2018 21:13:05 -0700 Subject: [PATCH] Cleanup --- .../assets/scripts/components/server/Server.vue | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/resources/assets/scripts/components/server/Server.vue b/resources/assets/scripts/components/server/Server.vue index e221fe05e..c830c4538 100644 --- a/resources/assets/scripts/components/server/Server.vue +++ b/resources/assets/scripts/components/server/Server.vue @@ -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 }); + }); }, }, }