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:
2026-07-28 20:10:27 +02:00
parent e18c066629
commit e0e2033fdf
3 changed files with 18 additions and 18 deletions
+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 {