From 4e02abf784267db538cf9a6fab630eab082ef08c Mon Sep 17 00:00:00 2001 From: zxhlyh Date: Thu, 14 Aug 2025 15:03:55 +0800 Subject: [PATCH] model auth --- .../plugins/plugin-auth/authorized/item.tsx | 11 +++++++++-- web/app/components/plugins/plugin-auth/types.ts | 1 + 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/web/app/components/plugins/plugin-auth/authorized/item.tsx b/web/app/components/plugins/plugin-auth/authorized/item.tsx index 5508bcc324..76d43310d4 100644 --- a/web/app/components/plugins/plugin-auth/authorized/item.tsx +++ b/web/app/components/plugins/plugin-auth/authorized/item.tsx @@ -135,6 +135,13 @@ const Item = ({ ) } + { + credential.from_enterprise && ( + + Enterprise + + ) + } ) } @@ -172,7 +179,7 @@ const Item = ({ ) } { - !isOAuth && !disableEdit && ( + !isOAuth && !disableEdit && !credential.from_enterprise && ( isWorkspaceDefault?: boolean + from_enterprise?: boolean }