mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-05 11:01:09 +00:00
fix(web): [chat_dashboard]Editor always run the first sql (#1413)
This commit is contained in:
@@ -575,6 +575,7 @@ function DbEditor() {
|
||||
)}
|
||||
onClick={() => {
|
||||
setCurrentTabIndex(index);
|
||||
setNewEditorValue(editorValue?.[index]);
|
||||
}}
|
||||
>
|
||||
{item.title}
|
||||
|
Reference in New Issue
Block a user