mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-21 01:16:01 +00:00
single database fixes
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
import _ from 'lodash';
|
||||
import { openedConnections, currentDatabase } from '../stores';
|
||||
import { apiCall } from './api';
|
||||
import { getConnectionList } from './metadataLoaders';
|
||||
|
||||
// const doServerPing = async value => {
|
||||
// const connectionList = getConnectionList();
|
||||
// const connections = value.filter(id => !connectionList.find(x => x._id == id)?.singleDatabase);
|
||||
// apiCall('server-connections/ping', { connections });
|
||||
// };
|
||||
|
||||
const doServerPing = value => {
|
||||
apiCall('server-connections/ping', { connections: value });
|
||||
|
||||
Reference in New Issue
Block a user