From 4069ade36df43e58f198dd1305778b5811824315 Mon Sep 17 00:00:00 2001 From: Fabio Di Stasio Date: Sat, 16 Oct 2021 09:58:32 +0200 Subject: [PATCH] feat(UI): CTRL+A to select all result rows --- src/renderer/components/WorkspaceTabQueryTable.vue | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/renderer/components/WorkspaceTabQueryTable.vue b/src/renderer/components/WorkspaceTabQueryTable.vue index dbeb2c0c..99bed1a9 100644 --- a/src/renderer/components/WorkspaceTabQueryTable.vue +++ b/src/renderer/components/WorkspaceTabQueryTable.vue @@ -5,6 +5,8 @@ tabindex="0" :style="{'height': resultsSize+'px'}" @keyup.46="showDeleteConfirmModal" + @keydown.ctrl.65="selectAllRows" + @keydown.esc="deselectRows" > { + acc.push(curr._id); + return acc; + }, []); + }, + deselectRows () { + this.selectedRows = []; + }, contextMenu (event, cell) { if (event.target.localName === 'input') return;