Merge pull request 'Fix(settings): fix settings view refreshing' (#191) from fix/settings-view-refresh into release/0.1.0

Reviewed-on: #191
Reviewed-by: Jakob Gregory
This commit was merged in pull request #191.
This commit is contained in:
jakob.scheid authored and Gitea committed 2026-09-09 17:54:48 +02:00
commit 864c2d2450
1 file changed
+1 -2
+1 -2
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 {
if (!setting) {
await router.push('/settings');
}
};