Fix(settings): fix settings view refreshing #191

Merged
jakob.scheid merged 1 commits from fix/settings-view-refresh into release/0.1.0 2026-09-09 17:54:48 +02:00
Showing only changes of commit 1e26376ad4 - Show all commits
+2 -3
View File
@@ -38,9 +38,8 @@ const activePath = computed(() => {
const activeSection = ref(null);
const updateSettings = async function updateSettings() {
const setting = getSettingRecursively(activePath.value, settings);
if (setting) {
activeSection.value = setting;
} else {
activeSection.value = setting;
if (!setting) {
await router.push('/settings');
}
};