feat(settings): add selection setting

This commit is contained in:
2026-07-28 20:08:36 +02:00
committed by jakob.scheid
parent 31fbfbde07
commit c9cb0fce27
3 changed files with 144 additions and 0 deletions
@@ -17,6 +17,7 @@ limitations under the License.
<script setup>
import Switch from './Switch.vue';
import SettingsInput from './SettingsInput.vue';
import Selection from './Selection.vue';
import { useI18n } from 'vue-i18n';
import { getSectionHeadingLevel } from '../utils/getSectionHeadingLevel.js';
@@ -52,6 +53,11 @@ const props = defineProps({
:setting="setting"
:path="`${props.path}.${setting.name}`"
/>
<Selection
v-if="setting.type === 'selection'"
:setting="setting"
:path="`${props.path}.${setting.name}`"
/>
</div>
</div>
</template>