Browse Source

fix(gui-v2): handle non image file in shared form

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3188/head
Pranav C 2 years ago
parent
commit
131ee2cbb3
  1. 2
      packages/nc-gui-v2/components/cell/attachment/utils.ts

2
packages/nc-gui-v2/components/cell/attachment/utils.ts

@ -86,6 +86,8 @@ export const [useProvideAttachmentCell, useAttachmentCell] = useInjectionState(
resolve(res)
}
reader.readAsDataURL(file)
} else {
resolve(res)
}
}),
),

Loading…
Cancel
Save