From afd9d305b712e47a2fffa437ac75058c59a54f2e Mon Sep 17 00:00:00 2001 From: Rafael Araujo Lehmkuhl Date: Wed, 27 Sep 2023 11:00:23 -0300 Subject: [PATCH] Refresh page after setting new global address This is a temporary fix for the problem of setting a new global address and the configuration not being done. --- src/views/ConfigurationGeneralView.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/views/ConfigurationGeneralView.vue b/src/views/ConfigurationGeneralView.vue index 39b6374b1..4776fc415 100644 --- a/src/views/ConfigurationGeneralView.vue +++ b/src/views/ConfigurationGeneralView.vue @@ -229,6 +229,10 @@ const addNewVehicleConnection = async (): Promise => { const setGlobalAddress = async (): Promise => { await globalAddressForm.value.validate() mainVehicleStore.globalAddress = newGlobalAddress.value + + // Temporary solution to actually set the address and connect the vehicle, since this is non-reactive today. + // TODO: Modify the store variables to be reactive. + location.reload() } const setWebRTCSignallingURI = async (): Promise => {