refactor(settings)!: pass path to getSettingsRecursively using an array instead of a string

Tests and all files the utility is used in are also updated.

Warning: This change is breaking!
This commit is contained in:
jakob.scheid committed 2026-07-28 20:10:27 +02:00
1 parent e18c066629
commit e0e2033fdf
3 files changed
+18 -18

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ watchEffect(() => {
const updateSettings = function updateSettings () {
if (activeSection.value) {
const setting = getSettingRecursively(activeSection.value, settings.value);
const setting = getSettingRecursively(activeSection.value.split('.'), settings.value);
if (!setting) {
router.push('/settings');
} else {