Line data Source code
1 : <template>
2 144 : <div v-if="props.settingGroups.length > 0">
3 2601 : <SettingGroup
4 : v-for="(group, i) in props.settingGroups"
5 : :key="group.label"
6 : :divider="i !== 0"
7 : :group="group"
8 : />
9 : </div>
10 : <NoResultsPlaceholder
11 : v-else
12 : icon="icon-[lucide--search]"
13 : :title="$t('g.noResultsFound')"
14 : :message="$t('g.searchFailedMessage')"
15 : />
16 : </template>
17 :
18 : <script setup lang="ts">
19 : import NoResultsPlaceholder from '@comfyorg/design-system/common/NoResultsPlaceholder'
20 : import SettingGroup from '@/platform/settings/components/SettingGroup.vue'
21 : import type { ISettingGroup } from '@comfyorg/settings-core/types'
22 :
23 115 : const props = defineProps<{
24 : settingGroups: ISettingGroup[]
25 : }>()
26 : </script>
|