ngx-vector-components 4.69.0 → 4.69.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/esm2020/lib/components/fields/data-table/data-table.component.mjs +4 -1
- package/fesm2015/ngx-vector-components.mjs +3 -0
- package/fesm2015/ngx-vector-components.mjs.map +1 -1
- package/fesm2020/ngx-vector-components.mjs +3 -0
- package/fesm2020/ngx-vector-components.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -2971,6 +2971,9 @@ class DataTableComponent {
|
|
|
2971
2971
|
return `+${item[col.field].length}`;
|
|
2972
2972
|
}
|
|
2973
2973
|
}
|
|
2974
|
+
if (col.type === TableColumnType.STATUS_BADGE) {
|
|
2975
|
+
return item[col.field] == 0 ? 0 : item[col.field];
|
|
2976
|
+
}
|
|
2974
2977
|
return item[col.field || ''] || '';
|
|
2975
2978
|
}
|
|
2976
2979
|
getTooltipText(item, col) {
|