From 53662d405ca14e677b54863319fb3319a0ea565e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=87=91=E4=BC=9F=E5=BC=BA?= Date: Mon, 29 May 2023 14:27:26 +0800 Subject: [PATCH] fix: no var text still show split line --- .../components/share/text-generation/config-scence/index.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/app/components/share/text-generation/config-scence/index.tsx b/web/app/components/share/text-generation/config-scence/index.tsx index 5c5681e4a8..d95e0263c1 100644 --- a/web/app/components/share/text-generation/config-scence/index.tsx +++ b/web/app/components/share/text-generation/config-scence/index.tsx @@ -60,8 +60,9 @@ const ConfigSence: FC = ({ ))} - -
+ {promptConfig.prompt_variables.length > 0 && ( +
+ )}