From 2988b67c24b8d10b64a1aad80f6c892a47646eb0 Mon Sep 17 00:00:00 2001 From: sino Date: Wed, 22 May 2024 16:44:20 +0800 Subject: [PATCH] fix: hide automatic button on automatic result page (#4494) --- .../app/configuration/config-prompt/simple-prompt-input.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/app/configuration/config-prompt/simple-prompt-input.tsx b/web/app/components/app/configuration/config-prompt/simple-prompt-input.tsx index c92a43515..c75bbf327 100644 --- a/web/app/components/app/configuration/config-prompt/simple-prompt-input.tsx +++ b/web/app/components/app/configuration/config-prompt/simple-prompt-input.tsx @@ -148,7 +148,7 @@ const Prompt: FC = ({ )}
- {!isAgent && ( + {!isAgent && !readonly && ( )}