From 8cb31a9fde98adf45ea7f3725554e66136485c01 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 21 Mar 2021 17:56:49 +0100 Subject: [PATCH] :bug: [feat/maps] #3 correct the config file on prod env --- server/config.ets2-dashboard-skin.json | 38 +++++++++++++------------- src/App.vue | 5 +++- 2 files changed, 23 insertions(+), 20 deletions(-) diff --git a/server/config.ets2-dashboard-skin.json b/server/config.ets2-dashboard-skin.json index f2522eb0..7185c713 100644 --- a/server/config.ets2-dashboard-skin.json +++ b/server/config.ets2-dashboard-skin.json @@ -13,24 +13,24 @@ "unit_speed" : "kph", "unit_currency" : "EUR", "general_job_remaining" : "due_date", - "jagfx_elements_right_oilTemperature" : true, - "jagfx_elements_right_brakesTemperature" : true, - "jagfx_elements_right_brakesAirPressure" : true, - "jagfx_elements_right_fuel" : true, - "jagfx_elements_right_fuelConsumption" : true, - "jagfx_elements_right_cruiseControl" : true, - "jagfx_elements_right_waterTemperature" : true, - "jagfx_elements_right_batteryVoltage" : false, - "jagfx_elements_mid_top_retarder" : true, - "jagfx_elements_mid_top_parkingBrake" : true, - "jagfx_elements_mid_top_beamHigh" : true, - "jagfx_elements_mid_top_beamLow" : true, - "jagfx_elements_mid_top_beacon" : false, - "jagfx_elements_mid_bottom_rpm" : true, - "jagfx_elements_mid_bottom_fuel" : true, - "jagfx_elements_mid_bottom_speedLimit" : true, - "jagfx_elements_right_restStop" : false, - "jagfx_elements_mid_bottom_blinker_turn" : true, + "jagfx_elements_right_oilTemperature" : "true", + "jagfx_elements_right_brakesTemperature" : "true", + "jagfx_elements_right_brakesAirPressure" : "true", + "jagfx_elements_right_fuel" : "true", + "jagfx_elements_right_fuelConsumption" : "true", + "jagfx_elements_right_cruiseControl" : "true", + "jagfx_elements_right_waterTemperature" : "true", + "jagfx_elements_right_batteryVoltage" : "false", + "jagfx_elements_mid_top_retarder" : "true", + "jagfx_elements_mid_top_parkingBrake" : "true", + "jagfx_elements_mid_top_beamHigh" : "true", + "jagfx_elements_mid_top_beamLow" : "true", + "jagfx_elements_mid_top_beacon" : "false", + "jagfx_elements_mid_bottom_rpm" : "true", + "jagfx_elements_mid_bottom_fuel" : "true", + "jagfx_elements_mid_bottom_speedLimit" : "true", + "jagfx_elements_right_restStop" : "false", + "jagfx_elements_mid_bottom_blinker_turn" : "true", "events_truck.refuel" : true, "events_truck.damage" : true, "events_truck.park" : true, @@ -61,4 +61,4 @@ "maps_map_tilesLocations" : "remote", "maps_map_activeMap" : "vanilla", "maps_map_navigationRemaining" : "remaining_date" -} +} \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index 728c8a29..2619d4b2 100644 --- a/src/App.vue +++ b/src/App.vue @@ -137,7 +137,10 @@ export default { getConfig: 'config/get' } ) }, - sockets: { + sockets: { + disconnect() { + console.log( 'disconnected' ); + }, connect() { console.log( 'connected' ); this.launching = {