Browse Source

chore(nc-gui): change 'null' to null to allow 'null' key

pull/3563/head
Wing-Kam Wong 2 years ago
parent
commit
6d666c901e
  1. 2
      packages/nc-gui/composables/useKanbanViewData.ts

2
packages/nc-gui/composables/useKanbanViewData.ts

@ -97,7 +97,7 @@ export function useKanbanViewData(
}
for (const data of res) {
const key = data.key === 'null' ? 'uncategorized' : data.key
const key = data.key === null ? 'uncategorized' : data.key
formattedData.value[key] = formatData(data.value.list)
countByStack.value[key] = data.value.pageInfo.totalRows || 0
}

Loading…
Cancel
Save