table tab tooltip

This commit is contained in:
Jan Prochazka
2020-03-03 07:45:35 +01:00
parent e2e46ec398
commit a4a470de45
5 changed files with 39 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
export default function fullDisplayName({ schemaName, pureName }) {
if (schemaName) return `${schemaName}.${pureName}`;
return pureName;
}

View File

@@ -0,0 +1,12 @@
import axios from './axios';
export default async function getConnectionInfo(conid) {
const resp = await axios.request({
method: 'get',
params: { conid },
url: 'connections/get',
});
/** @type {import('@dbgate/types').StoredConnection} */
const res = resp.data;
return res;
}