Browse Source

fix: typo

pull/6451/head
DarkPhoenix2704 1 year ago
parent
commit
1982cd4e16
  1. 2
      packages/nc-gui/components/virtual-cell/components/ListItem.vue

2
packages/nc-gui/components/virtual-cell/components/ListItem.vue

@ -35,7 +35,7 @@ interface Attachment {
const attachments: ComputedRef<Attachment[]> = computed(() => { const attachments: ComputedRef<Attachment[]> = computed(() => {
try { try {
if (props.attachment && props.attachment[props.attachment.title]) { if (props.attachment && props.row[props.attachment.title]) {
return typeof row.value[props.attachment.title] === 'string' return typeof row.value[props.attachment.title] === 'string'
? JSON.parse(row.value[props.attachment.title]) ? JSON.parse(row.value[props.attachment.title])
: row.value[props.attachment.title] : row.value[props.attachment.title]

Loading…
Cancel
Save