mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 06:20:11 +00:00
chore: Remove extra tiny Comfy UI label
This commit is contained in:
@@ -10,7 +10,7 @@ type Product = 'local' | 'cloud' | 'api' | 'enterprise'
|
||||
const {
|
||||
locale = 'en',
|
||||
excludeProduct,
|
||||
labelKey = 'products.label'
|
||||
labelKey = ''
|
||||
} = defineProps<{
|
||||
locale?: Locale
|
||||
excludeProduct?: Product
|
||||
@@ -47,6 +47,7 @@ const cards = excludeProduct
|
||||
<!-- Header -->
|
||||
<div class="flex flex-col items-center text-center">
|
||||
<p
|
||||
v-if="labelKey"
|
||||
class="text-primary-comfy-yellow text-xs font-bold tracking-widest uppercase"
|
||||
>
|
||||
{{ t(labelKey, locale) }}
|
||||
|
||||
@@ -7,9 +7,5 @@ const { locale = 'en' } = defineProps<{ locale?: Locale }>()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<ProductCardsSection
|
||||
:locale="locale"
|
||||
exclude-product="cloud"
|
||||
label-key="products.labelProducts"
|
||||
/>
|
||||
<ProductCardsSection :locale="locale" exclude-product="cloud" />
|
||||
</template>
|
||||
|
||||
@@ -130,10 +130,6 @@ const translations = {
|
||||
},
|
||||
|
||||
// ProductCardsSection
|
||||
'products.label': {
|
||||
en: 'Comfy UI',
|
||||
'zh-CN': 'Comfy UI'
|
||||
},
|
||||
'products.labelProducts': {
|
||||
en: 'Products',
|
||||
'zh-CN': '产品'
|
||||
|
||||
Reference in New Issue
Block a user