mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-14 14:45:53 +08:00
add verified tag
This commit is contained in:
parent
307af29b65
commit
1ecea62052
@ -7,7 +7,7 @@ import {
|
||||
RiBugLine,
|
||||
RiCloseLine,
|
||||
RiHardDrive3Line,
|
||||
// RiVerifiedBadgeLine,
|
||||
RiVerifiedBadgeLine,
|
||||
} from '@remixicon/react'
|
||||
import type { PluginDetail } from '../types'
|
||||
import { PluginSource } from '../types'
|
||||
@ -73,7 +73,7 @@ const PluginDetailPanel: FC<Props> = ({
|
||||
<div className="ml-3 w-0 grow">
|
||||
<div className="flex items-center h-5">
|
||||
<Title title={pluginDetail.declaration.label[locale]} />
|
||||
{/* <RiVerifiedBadgeLine className="shrink-0 ml-0.5 w-4 h-4 text-text-accent" /> */}
|
||||
{pluginDetail.declaration.verified && <RiVerifiedBadgeLine className="shrink-0 ml-0.5 w-4 h-4 text-text-accent" />}
|
||||
<Badge
|
||||
className='mx-1'
|
||||
text={pluginDetail.version}
|
||||
|
@ -25,6 +25,7 @@ export const toolNotion = {
|
||||
resource: {},
|
||||
plugins: {},
|
||||
tool: {}, // TODO
|
||||
verified: true,
|
||||
},
|
||||
installation_id: 'jflkdsjoewingljlsadjgoijg-dkfjldajglkajglask-dlfkajdg',
|
||||
tenant_id: 'jflkdsjoewingljlsadjgoijg',
|
||||
|
@ -47,6 +47,7 @@ export type PluginDeclaration = {
|
||||
created_at: string
|
||||
resource: any // useless in frontend
|
||||
plugins: any // useless in frontend
|
||||
verified: boolean
|
||||
tool: PluginToolDeclaration
|
||||
endpoint: PluginEndpointDeclaration
|
||||
model: any // TODO
|
||||
|
Loading…
x
Reference in New Issue
Block a user