Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

615 B
Raw Blame
'use client'
import type { FC } from 'react'
import * as React from 'react'
import { useTranslation } from 'react-i18next'
import { AUTO_UPDATE_MODE } from './types'

type Props = Readonly<{
  updateMode: AUTO_UPDATE_MODE
}>

const NoPluginSelected: FC<Props> = ({ updateMode }) => {
  const { t } = useTranslation(['plugin'])
  const text = `${t(($) => $[`autoUpdate.upgradeModePlaceholder.${updateMode === AUTO_UPDATE_MODE.partial ? 'partial' : 'exclude'}`], { ns: 'plugin' })}`
  return <div className="text-center system-xs-regular text-text-tertiary">{text}</div>
}
export default React.memo(NoPluginSelected)