mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-04 13:12:10 +00:00
28 lines
648 B
Vue
28 lines
648 B
Vue
<template>
|
|
<div v-if="props.settingGroups.length > 0">
|
|
<SettingGroup
|
|
v-for="(group, i) in props.settingGroups"
|
|
:key="group.label"
|
|
:divider="i !== 0"
|
|
:group="group"
|
|
/>
|
|
</div>
|
|
<NoResultsPlaceholder
|
|
v-else
|
|
icon="pi pi-search"
|
|
:title="$t('g.noResultsFound')"
|
|
:message="$t('g.searchFailedMessage')"
|
|
/>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import NoResultsPlaceholder from '@/components/common/NoResultsPlaceholder.vue'
|
|
import { ISettingGroup } from '@/types/settingTypes'
|
|
|
|
import SettingGroup from './SettingGroup.vue'
|
|
|
|
const props = defineProps<{
|
|
settingGroups: ISettingGroup[]
|
|
}>()
|
|
</script>
|