feat(settings): add support for boolean settings

This commit is contained in:
2026-07-28 20:08:23 +02:00
committed by jakob.scheid
parent 5101450d59
commit 17351e9f44
@@ -15,6 +15,8 @@ limitations under the License.
-->
<script setup>
import Switch from './Switch.vue';
import { useI18n } from 'vue-i18n';
import { getSectionHeadingLevel } from '../utils/getSectionHeadingLevel.js';
@@ -44,6 +46,11 @@ const props = defineProps({
selection: setting.type === 'selection'
}"
>
<Switch
v-if="setting.type === 'bool'"
:setting="setting"
:path="`${props.path}.${setting.name}`"
/>
</div>
</div>
</template>