Skip to content

Commit

Permalink
fix: wrong table height calc in some cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio286 committed Aug 19, 2020
1 parent 9599b43 commit fd6d517
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,17 @@
"dependencies": {
"@mdi/font": "^5.5.55",
"codemirror": "^5.56.0",
"electron-log": "^4.2.2",
"electron-log": "^4.2.4",
"electron-updater": "^4.3.4",
"lodash": "^4.17.19",
"lodash": "^4.17.20",
"moment": "^2.27.0",
"mssql": "^6.2.1",
"mysql": "^2.18.1",
"pg": "^8.3.0",
"pg": "^8.3.2",
"source-map-support": "^0.5.16",
"spectre.css": "^0.5.9",
"vue-click-outside": "^1.1.0",
"vue-i18n": "^8.20.0",
"vue-i18n": "^8.21.0",
"vue-the-mask": "^0.11.1",
"vuedraggable": "^2.24.0",
"vuex": "^3.5.1",
Expand All @@ -69,12 +69,12 @@
"devDependencies": {
"babel-eslint": "^10.1.0",
"cross-env": "^7.0.2",
"electron": "^9.1.2",
"electron": "^9.2.1",
"electron-builder": "^22.8.0",
"electron-devtools-installer": "^3.1.1",
"electron-webpack": "^2.8.2",
"electron-webpack-vue": "^2.4.0",
"eslint": "^7.6.0",
"eslint": "^7.7.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-node": "^11.1.0",
Expand Down
6 changes: 3 additions & 3 deletions src/main/ipc-handlers/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand All @@ -28,7 +28,7 @@ export default (connections) => {
}
});

ipcMain.handle('checkConnection', async (event, uid) => {
ipcMain.handle('check-connection', async (event, uid) => {
return uid in connections;
});

Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/BaseContextMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceQueryTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/ipc-api/Connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit fd6d517

Please sign in to comment.