feat: categories and option search

This commit is contained in:
2025-03-15 15:32:45 +00:00
parent 97831caf75
commit 08d6a2a2fe
11 changed files with 214 additions and 33 deletions

View File

@ -1,5 +1,8 @@
<script setup lang="ts">
import Fieldset from 'primevue/fieldset';
import { useGeneralStore } from '../stores';
const general = useGeneralStore();
defineProps({
title: String,
@ -7,7 +10,11 @@ defineProps({
</script>
<template>
<Fieldset :legend="title" :toggleable="true">
<Fieldset
:legend="title"
:toggleable="true"
v-show="general.cfgCategories.has(title ?? '')"
>
<div class="flex w-full flex-col gap-1">
<slot />
</div>