(connection: Connection)
| 33 | }; |
| 34 | |
| 35 | const handleConnectionSelect = async (connection: Connection) => { |
| 36 | const databaseList = await connectionStore.getOrFetchDatabaseList(connection); |
| 37 | connectionStore.setCurrentConnectionCtx({ |
| 38 | connection, |
| 39 | database: head(databaseList), |
| 40 | }); |
| 41 | }; |
| 42 | |
| 43 | const handleEditConnection = (connection: Connection) => { |
| 44 | setState({ |