From 6a4fbc631369449494c9d9836454bd7ac82924dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Vit=C3=B3ria=20Silva?= <8648976+joaovitoriasilva@users.noreply.github.com> Date: Tue, 30 Jul 2024 10:37:41 +0100 Subject: [PATCH] Fixed Strava link [frontend] fixed Strava linked value not being updated after successful Strava link --- frontend/app/src/views/SettingsView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/src/views/SettingsView.vue b/frontend/app/src/views/SettingsView.vue index f5321bf0..16947fdc 100644 --- a/frontend/app/src/views/SettingsView.vue +++ b/frontend/app/src/views/SettingsView.vue @@ -75,7 +75,7 @@ export default { activeSection.value = 'integrations'; // Set the user object with the strava_linked property set to 1. - user = authStore.user; + const user = authStore.user; user.is_strava_linked = 1; authStore.setUser(user, locale);