Feat(settings): add renderer for settings configuration #142

Merged
jakob.scheid merged 88 commits from feature/settings-renderer into main 2026-07-28 20:14:50 +02:00
Showing only changes of commit e18c066629 - Show all commits
+1 -3
View File
@@ -21,9 +21,7 @@ export const getSetting = function getSetting (name, settings) {
export const getSettingRecursively = function getSettingRecursively (sectionPath, settings) {
const oneSettingsLevel = function oneSettingsLevel (cursor, acc) {
const setting = getSetting(cursor[0], acc.content);
if (!setting) {
return;
};
if (!setting) return;
if (setting.type === undefined) setting.type = 'section';
if (setting.type === 'section') {