Browse Source

fix(gui-v2): skip undefined ids

pull/3247/head
Wing-Kam Wong 2 years ago
parent
commit
500a710309
  1. 2
      packages/nc-gui-v2/composables/useViewData.ts

2
packages/nc-gui-v2/composables/useViewData.ts

@ -92,7 +92,7 @@ export function useViewData(
return extractPkFromRow(row, meta?.value?.columns as ColumnType[])
})
if (!ids?.length) return
if (!ids?.length || ids?.some((id) => !id)) return
aggCommentCount.value = await $api.utils.commentCount({
ids,

Loading…
Cancel
Save