From 067668ccae65c67a26989d6746487d539ecb4467 Mon Sep 17 00:00:00 2001 From: MartialBE Date: Fri, 5 Apr 2024 14:12:42 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20improve:=20=20webUI=20impr?= =?UTF-8?q?ove?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/views/Channel/component/EditModal.js | 50 +++++++++++--------- web/src/views/Channel/type/Config.js | 3 +- 2 files changed, 30 insertions(+), 23 deletions(-) diff --git a/web/src/views/Channel/component/EditModal.js b/web/src/views/Channel/component/EditModal.js index b60e9320..b9339c54 100644 --- a/web/src/views/Channel/component/EditModal.js +++ b/web/src/views/Channel/component/EditModal.js @@ -554,28 +554,34 @@ const EditModal = ({ open, channelId, onCancel, onOk, groupOptions }) => { )} - - {/* {inputLabel.model_mapping} */} - - {touched.model_mapping && errors.model_mapping ? ( - - {errors.model_mapping} - - ) : ( - {inputPrompt.model_mapping} - )} - + {inputPrompt.model_mapping && ( + + {/* {inputLabel.model_mapping} */} + + {touched.model_mapping && errors.model_mapping ? ( + + {errors.model_mapping} + + ) : ( + {inputPrompt.model_mapping} + )} + + )} {inputLabel.proxy}