Skip to content

Commit 0971ea5

Browse files
committed
feat: Support configure SQLBot name in chat template
1 parent b9d80ae commit 0971ea5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/views/system/parameter/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const loadData = () => {
2626
item.pkey?.startsWith('login') ||
2727
item.pkey?.startsWith('platform')
2828
) {
29-
if (item.pkey !== 'chat.sqlbot_name') {
29+
if (item.pkey === 'chat.sqlbot_name') {
3030
if (item.pval && item.pval.trim().length > 0) {
3131
state.parameterForm[item.pkey] = item.pval
3232
}

0 commit comments

Comments
 (0)