()
| 169 | // Note: This function is used to solve issue #95 |
| 170 | // https://github.com/sqlchat/sqlchat/issues/95 |
| 171 | const createConversation = () => { |
| 172 | if (!currentConversation) { |
| 173 | if (!currentConnectionCtx) { |
| 174 | conversationStore.createConversation(); |
| 175 | } else { |
| 176 | conversationStore.createConversation(currentConnectionCtx.connection.id, currentConnectionCtx.database?.name); |
| 177 | } |
| 178 | } |
| 179 | }; |
| 180 | |
| 181 | const handleTableCheckboxChange = async (tableName: string, value: boolean) => { |
| 182 | if (value) { |