Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4d5e855

Browse filesBrowse files
committed
fix(CTable): allow to pass 0 as a column value
1 parent 033632e commit 4d5e855
Copy full SHA for 4d5e855

File tree

1 file changed

+1
-1
lines changed
Filter options
  • packages/coreui-vue/src/components/table

1 file changed

+1
-1
lines changed

‎packages/coreui-vue/src/components/table/CTable.ts

Copy file name to clipboardExpand all lines: packages/coreui-vue/src/components/table/CTable.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ const CTable = defineComponent({
239239
columnNames.value &&
240240
columnNames.value.map(
241241
(colName: string) =>
242-
item[colName] &&
242+
item[colName] !== undefined &&
243243
h(
244244
CTableDataCell,
245245
{

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.