From d6e655eaae4e413b2909c30095cd35315ccc0c55 Mon Sep 17 00:00:00 2001 From: JzoNg Date: Tue, 19 Mar 2024 09:43:39 +0800 Subject: [PATCH] fix restart button --- .../app/configuration/debug/index.tsx | 2 +- .../base/chat/chat/answer/operation.tsx | 32 ++++++++++--------- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/web/app/components/app/configuration/debug/index.tsx b/web/app/components/app/configuration/debug/index.tsx index 4e5fa5a38a..d4f3a78076 100644 --- a/web/app/components/app/configuration/debug/index.tsx +++ b/web/app/components/app/configuration/debug/index.tsx @@ -391,7 +391,7 @@ const Debug: FC = ({ ) : null } - {mode === 'chat' && ( + {mode !== AppType.completion && (