Browse Source

refactor: instead of LTAR on drag n drop create Links

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5848/head
Pranav C 2 years ago
parent
commit
c47d758c46
  1. 4
      packages/nc-gui/components/tabs/Smartsheet.vue

4
packages/nc-gui/components/tabs/Smartsheet.vue

@ -115,8 +115,8 @@ const onDrop = async (event: DragEvent) => {
}) })
} else { } else {
grid.value?.openColumnCreate({ grid.value?.openColumnCreate({
uidt: UITypes.LinkToAnotherRecord, uidt: UITypes.Links,
title: `${data.title}List`, title: `${data.title}`,
parentId: parentMeta.id, parentId: parentMeta.id,
childId: childMeta.id, childId: childMeta.id,
parentTable: parentMeta.title, parentTable: parentMeta.title,

Loading…
Cancel
Save