Merge pull request #5272 from qburst/fix-keyA-select-all-in-single-mode

fix: fix select all in single selection mode on Ctrl-A press
pull/5282/head
Tuğçe Küçükoğlu 2024-02-15 11:38:55 +03:00 committed by GitHub
commit a73803819c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -864,7 +864,7 @@ export default {
break;
default:
if (event.code === 'KeyA' && metaKey) {
if (event.code === 'KeyA' && metaKey && this.isMultipleSelectionMode()) {
const data = this.dataToRender(slotProps.rows);
this.$emit('update:selection', data);