1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

fix: wrong table height calc in some cases

This commit is contained in:
2020-08-19 16:25:42 +02:00
parent 9599b43f78
commit fd6d5177ef
5 changed files with 13 additions and 13 deletions

View File

@@ -4,8 +4,8 @@ import { AntaresConnector } from '../libs/AntaresConnector';
import InformationSchema from '../models/InformationSchema';
import Generic from '../models/Generic';
export default (connections) => {
ipcMain.handle('testConnection', async (event, conn) => {
export default connections => {
ipcMain.handle('test-connection', async (event, conn) => {
const Connection = new AntaresConnector({
client: conn.client,
params: {
@@ -28,7 +28,7 @@ export default (connections) => {
}
});
ipcMain.handle('checkConnection', async (event, uid) => {
ipcMain.handle('check-connection', async (event, uid) => {
return uid in connections;
});

View File

@@ -46,8 +46,8 @@ export default {
justify-content: center;
align-items: center;
overflow: hidden;
padding: 0.4rem;
position: fixed;
height: 100vh;
right: 0;
top: 0;
left: 0;

View File

@@ -180,7 +180,7 @@ export default {
},
resizeResults () {
if (this.$refs.resultTable) {
const el = this.$refs.table;
const el = this.$refs.tableWrapper;
if (el) {
const footer = document.getElementById('footer');

View File

@@ -3,11 +3,11 @@ import { ipcRenderer } from 'electron';
export default class {
static makeTest (params) {
return ipcRenderer.invoke('testConnection', params);
return ipcRenderer.invoke('test-connection', params);
}
static checkConnection (params) {
return ipcRenderer.invoke('checkConnection', params);
return ipcRenderer.invoke('check-connection', params);
}
static connect (params) {