diff --git a/package.json b/package.json index 585a61da..d488d334 100644 --- a/package.json +++ b/package.json @@ -136,7 +136,7 @@ "clean-webpack-plugin": "^4.0.0", "cross-env": "^7.0.2", "css-loader": "^6.5.0", - "electron": "^16.0.1", + "electron": "^16.0.7", "electron-builder": "^22.14.11", "electron-devtools-installer": "^3.2.0", "eslint": "^7.32.0", diff --git a/src/renderer/components/WorkspaceTabQueryTable.vue b/src/renderer/components/WorkspaceTabQueryTable.vue index 97057456..881a7ddf 100644 --- a/src/renderer/components/WorkspaceTabQueryTable.vue +++ b/src/renderer/components/WorkspaceTabQueryTable.vue @@ -403,10 +403,11 @@ export default { }; this.$emit('update-field', params); }, - copyCell () { + copyCell (event) { const row = this.localResults.find(row => this.selectedRows.includes(row._antares_id)); const cellName = Object.keys(row).find(prop => [ this.selectedCell.field, + this.selectedCell.orgField, `${this.fields[0].table}.${this.selectedCell.field}`, `${this.fields[0].tableAlias}.${this.selectedCell.field}` ].includes(prop)); diff --git a/src/renderer/components/WorkspaceTabQueryTableRow.vue b/src/renderer/components/WorkspaceTabQueryTableRow.vue index b31ac667..f417322c 100644 --- a/src/renderer/components/WorkspaceTabQueryTableRow.vue +++ b/src/renderer/components/WorkspaceTabQueryTableRow.vue @@ -10,7 +10,7 @@ :key="cKey" class="td p-0" tabindex="0" - @contextmenu.prevent="openContext($event, { id: row._antares_id, field: cKey })" + @contextmenu.prevent="openContext($event, { id: row._antares_id, orgField: cKey })" >