Browse Source

fix(nc-gui): dropzone not appearing on attachment cell

pull/3669/head
braks 2 years ago committed by Raju Udava
parent
commit
2d813d49ca
  1. 4
      packages/nc-gui/components/cell/attachment/index.vue

4
packages/nc-gui/components/cell/attachment/index.vue

@ -56,9 +56,9 @@ const {
const currentCellRef = ref() const currentCellRef = ref()
watch( watch(
[() => rowIndex, isForm], [() => rowIndex, isForm, attachmentCellRef],
() => { () => {
if (!rowIndex && isForm.value && isGallery.value) { if (!rowIndex && (isForm.value || isGallery.value)) {
currentCellRef.value = attachmentCellRef.value currentCellRef.value = attachmentCellRef.value
} else { } else {
nextTick(() => { nextTick(() => {

Loading…
Cancel
Save