mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-09 17:40:09 +00:00
Add setting to hide node category in search result (#546)
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
:python_module="option.python_module"
|
||||
/>
|
||||
</div>
|
||||
<div class="option-category">
|
||||
<div v-if="showCategory" class="option-category">
|
||||
{{ option.category.replaceAll('/', ' > ') }}
|
||||
</div>
|
||||
</div>
|
||||
@@ -70,6 +70,9 @@ const settingStore = useSettingStore()
|
||||
const enableNodePreview = computed(() =>
|
||||
settingStore.get('Comfy.NodeSearchBoxImpl.NodePreview')
|
||||
)
|
||||
const showCategory = computed(() =>
|
||||
settingStore.get('Comfy.NodeSearchBoxImpl.ShowCategory')
|
||||
)
|
||||
|
||||
const props = defineProps({
|
||||
filters: {
|
||||
|
||||
Reference in New Issue
Block a user