Browse Source

fix(gui): correction in condition

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/4053/head
Pranav C 2 years ago
parent
commit
5ce7076ffb
  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