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:
		
							
								
								
									
										12
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								package.json
									
									
									
									
									
								
							| @@ -50,17 +50,17 @@ | |||||||
|   "dependencies": { |   "dependencies": { | ||||||
|     "@mdi/font": "^5.5.55", |     "@mdi/font": "^5.5.55", | ||||||
|     "codemirror": "^5.56.0", |     "codemirror": "^5.56.0", | ||||||
|     "electron-log": "^4.2.2", |     "electron-log": "^4.2.4", | ||||||
|     "electron-updater": "^4.3.4", |     "electron-updater": "^4.3.4", | ||||||
|     "lodash": "^4.17.19", |     "lodash": "^4.17.20", | ||||||
|     "moment": "^2.27.0", |     "moment": "^2.27.0", | ||||||
|     "mssql": "^6.2.1", |     "mssql": "^6.2.1", | ||||||
|     "mysql": "^2.18.1", |     "mysql": "^2.18.1", | ||||||
|     "pg": "^8.3.0", |     "pg": "^8.3.2", | ||||||
|     "source-map-support": "^0.5.16", |     "source-map-support": "^0.5.16", | ||||||
|     "spectre.css": "^0.5.9", |     "spectre.css": "^0.5.9", | ||||||
|     "vue-click-outside": "^1.1.0", |     "vue-click-outside": "^1.1.0", | ||||||
|     "vue-i18n": "^8.20.0", |     "vue-i18n": "^8.21.0", | ||||||
|     "vue-the-mask": "^0.11.1", |     "vue-the-mask": "^0.11.1", | ||||||
|     "vuedraggable": "^2.24.0", |     "vuedraggable": "^2.24.0", | ||||||
|     "vuex": "^3.5.1", |     "vuex": "^3.5.1", | ||||||
| @@ -69,12 +69,12 @@ | |||||||
|   "devDependencies": { |   "devDependencies": { | ||||||
|     "babel-eslint": "^10.1.0", |     "babel-eslint": "^10.1.0", | ||||||
|     "cross-env": "^7.0.2", |     "cross-env": "^7.0.2", | ||||||
|     "electron": "^9.1.2", |     "electron": "^9.2.1", | ||||||
|     "electron-builder": "^22.8.0", |     "electron-builder": "^22.8.0", | ||||||
|     "electron-devtools-installer": "^3.1.1", |     "electron-devtools-installer": "^3.1.1", | ||||||
|     "electron-webpack": "^2.8.2", |     "electron-webpack": "^2.8.2", | ||||||
|     "electron-webpack-vue": "^2.4.0", |     "electron-webpack-vue": "^2.4.0", | ||||||
|     "eslint": "^7.6.0", |     "eslint": "^7.7.0", | ||||||
|     "eslint-config-standard": "^14.1.1", |     "eslint-config-standard": "^14.1.1", | ||||||
|     "eslint-plugin-import": "^2.22.0", |     "eslint-plugin-import": "^2.22.0", | ||||||
|     "eslint-plugin-node": "^11.1.0", |     "eslint-plugin-node": "^11.1.0", | ||||||
|   | |||||||
| @@ -4,8 +4,8 @@ import { AntaresConnector } from '../libs/AntaresConnector'; | |||||||
| import InformationSchema from '../models/InformationSchema'; | import InformationSchema from '../models/InformationSchema'; | ||||||
| import Generic from '../models/Generic'; | import Generic from '../models/Generic'; | ||||||
|  |  | ||||||
| export default (connections) => { | export default connections => { | ||||||
|    ipcMain.handle('testConnection', async (event, conn) => { |    ipcMain.handle('test-connection', async (event, conn) => { | ||||||
|       const Connection = new AntaresConnector({ |       const Connection = new AntaresConnector({ | ||||||
|          client: conn.client, |          client: conn.client, | ||||||
|          params: { |          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; |       return uid in connections; | ||||||
|    }); |    }); | ||||||
|  |  | ||||||
|   | |||||||
| @@ -46,8 +46,8 @@ export default { | |||||||
|     justify-content: center; |     justify-content: center; | ||||||
|     align-items: center; |     align-items: center; | ||||||
|     overflow: hidden; |     overflow: hidden; | ||||||
|     padding: 0.4rem; |  | ||||||
|     position: fixed; |     position: fixed; | ||||||
|  |     height: 100vh; | ||||||
|     right: 0; |     right: 0; | ||||||
|     top: 0; |     top: 0; | ||||||
|     left: 0; |     left: 0; | ||||||
|   | |||||||
| @@ -180,7 +180,7 @@ export default { | |||||||
|       }, |       }, | ||||||
|       resizeResults () { |       resizeResults () { | ||||||
|          if (this.$refs.resultTable) { |          if (this.$refs.resultTable) { | ||||||
|             const el = this.$refs.table; |             const el = this.$refs.tableWrapper; | ||||||
|  |  | ||||||
|             if (el) { |             if (el) { | ||||||
|                const footer = document.getElementById('footer'); |                const footer = document.getElementById('footer'); | ||||||
|   | |||||||
| @@ -3,11 +3,11 @@ import { ipcRenderer } from 'electron'; | |||||||
|  |  | ||||||
| export default class { | export default class { | ||||||
|    static makeTest (params) { |    static makeTest (params) { | ||||||
|       return ipcRenderer.invoke('testConnection', params); |       return ipcRenderer.invoke('test-connection', params); | ||||||
|    } |    } | ||||||
|  |  | ||||||
|    static checkConnection (params) { |    static checkConnection (params) { | ||||||
|       return ipcRenderer.invoke('checkConnection', params); |       return ipcRenderer.invoke('check-connection', params); | ||||||
|    } |    } | ||||||
|  |  | ||||||
|    static connect (params) { |    static connect (params) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user