mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-15 21:55:53 +08:00
chore: instal plug add tag
This commit is contained in:
parent
dec4bf6b98
commit
8dd941e3d2
@ -6,6 +6,7 @@ import PluginItem from '@/app/components/plugins/plugin-item'
|
|||||||
import CardMoreInfo from '@/app/components/plugins/card/card-more-info'
|
import CardMoreInfo from '@/app/components/plugins/card/card-more-info'
|
||||||
import InstallModelItem from '@/app/components/plugins/install-model-item'
|
import InstallModelItem from '@/app/components/plugins/install-model-item'
|
||||||
import { getLocaleOnServer, useTranslation as translate } from '@/i18n/server'
|
import { getLocaleOnServer, useTranslation as translate } from '@/i18n/server'
|
||||||
|
import Badge from '@/app/components/base/badge'
|
||||||
const PluginList = async () => {
|
const PluginList = async () => {
|
||||||
const locale = getLocaleOnServer()
|
const locale = getLocaleOnServer()
|
||||||
const pluginList = [toolNotion, extensionDallE, modelGPT4]
|
const pluginList = [toolNotion, extensionDallE, modelGPT4]
|
||||||
@ -34,7 +35,9 @@ const PluginList = async () => {
|
|||||||
payload={toolNotion as any}
|
payload={toolNotion as any}
|
||||||
locale={locale}
|
locale={locale}
|
||||||
descriptionLineRows={1}
|
descriptionLineRows={1}
|
||||||
showVersion
|
titleLeft={
|
||||||
|
<Badge className='ml-1' text={toolNotion.version} />
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<h3 className='my-1'>Installed</h3>
|
<h3 className='my-1'>Installed</h3>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user