|
|
@@ -107,9 +107,13 @@ Page Paramètres
|
|
|
|
|
|
onMounted(() => {
|
|
|
if (!route.query || !route.query.tab || !tabs.includes(route.query.tab as string)) {
|
|
|
- updateQuery(tabs[0] ?? 'general_parameters')
|
|
|
+ const tab = tabs[0] ?? 'general_parameters'
|
|
|
+ currentTab.value = tab
|
|
|
+ updateQuery(tab)
|
|
|
+ } else {
|
|
|
+ currentTab.value = route.query.tab as string
|
|
|
}
|
|
|
- currentTab.value = route.query.tab as string
|
|
|
+
|
|
|
mounted = true
|
|
|
})
|
|
|
|