Browse Source

Merge pull request #4053 from nocodb/fix/multi-select-and-copy

Fix: Grid view - multiple cell select copy bug
pull/4057/head
Pranav C 2 years ago committed by GitHub
parent
commit
8a28be59bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/nc-gui/composables/useMultiSelect/index.ts

2
packages/nc-gui/composables/useMultiSelect/index.ts

@ -229,7 +229,7 @@ export function useMultiSelect(
cpcols.forEach((col) => {
// todo: JSON stringify the attachment cell and LTAR contents for copy
// filter attachment cells and LATR cells from copy
if (col.uidt === UITypes.Attachment || col.uidt === UITypes.LinkToAnotherRecord) {
if (col.uidt !== UITypes.Attachment && col.uidt !== UITypes.LinkToAnotherRecord) {
cptext = `${cptext} ${row.row[col.title]} \t`
}
})

Loading…
Cancel
Save