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.

fix(web): remove copy action for masked Knowledge API keys (#43868)

Aniket5a8dd147627e
diff --git a/web/app/components/api-key/api-key-table.tsx b/web/app/components/api-key/api-key-table.tsx
index 8b41a2a4933..fb25e25b02c 100644
--- a/web/app/components/api-key/api-key-table.tsx
+++ b/web/app/components/api-key/api-key-table.tsx
@@ -2,7 +2,6 @@ import type { ApiKeyItem } from '@dify/contracts/api/console/apps/types.gen'
import type { EnvironmentApiKey } from '@dify/contracts/enterprise-app-deploy/types.gen'
import { IconButton } from '@langgenius/dify-ui/icon-button'
import { useTranslation } from 'react-i18next'
-import { CopyFeedback } from '@/app/components/base/copy-feedback'
import useTimestamp from '@/hooks/use-timestamp'
type ApiKeyTableProps = {
@@ -76,7 +75,6 @@ export function ApiKeyTable({
</td>
<td className="px-6 py-1">
<div className="flex justify-end gap-1">
- <CopyFeedback content={apiKey.token} />
{canManage && (
<IconButton
aria-label={`${t(($) => $['operation.delete'], { ns: 'common' })} ${maskToken(apiKey.token)}`}