(tableName: string, value: boolean)
| 179 | }; |
| 180 | |
| 181 | const handleTableCheckboxChange = async (tableName: string, value: boolean) => { |
| 182 | if (value) { |
| 183 | conversationStore.updateSelectedTablesNameList([...selectedTableNameList, tableName]); |
| 184 | } else { |
| 185 | conversationStore.updateSelectedTablesNameList(selectedTableNameList.filter((name) => name !== tableName)); |
| 186 | } |
| 187 | }; |
| 188 | |
| 189 | const handleSchemaNameSelect = async (schemaName: string) => { |
| 190 | // need to empty selectedTableNameList when schemaName changed. because selectedTableNameList may not exist in new schema. |
nothing calls this directly
no outgoing calls
no test coverage detected