generated from Seekra/repository-template
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user