@aloudata/aloudata-design 0.2.0-beta.14 → 0.2.0-beta.15
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/es/Table/index.js +3 -1
- package/es/Table/interface.d.ts +1 -1
- package/lib/Table/index.js +3 -1
- package/lib/Table/interface.d.ts +1 -1
- package/package.json +1 -1
package/es/Table/index.js
CHANGED
|
@@ -113,7 +113,9 @@ function Table(_ref, ref) {
|
|
|
113
113
|
return columns.map(function (column) {
|
|
114
114
|
return _objectSpread(_objectSpread({}, column), {}, {
|
|
115
115
|
width: initialColumnsWidthMap.columnMap.get(column.dataIndex) || initialColumnsWidthMap.averageWidth,
|
|
116
|
-
Header: column.title
|
|
116
|
+
Header: column.title ? column.title : function () {
|
|
117
|
+
return null;
|
|
118
|
+
},
|
|
117
119
|
disableSortBy: !sortable || typeof column.sorter === 'boolean',
|
|
118
120
|
accessor: column.dataIndex,
|
|
119
121
|
Cell: function Cell(_ref2) {
|
package/es/Table/interface.d.ts
CHANGED
package/lib/Table/index.js
CHANGED
|
@@ -135,7 +135,9 @@ function Table(_ref, ref) {
|
|
|
135
135
|
return columns.map(function (column) {
|
|
136
136
|
return _objectSpread(_objectSpread({}, column), {}, {
|
|
137
137
|
width: initialColumnsWidthMap.columnMap.get(column.dataIndex) || initialColumnsWidthMap.averageWidth,
|
|
138
|
-
Header: column.title
|
|
138
|
+
Header: column.title ? column.title : function () {
|
|
139
|
+
return null;
|
|
140
|
+
},
|
|
139
141
|
disableSortBy: !sortable || typeof column.sorter === 'boolean',
|
|
140
142
|
accessor: column.dataIndex,
|
|
141
143
|
Cell: function Cell(_ref2) {
|
package/lib/Table/interface.d.ts
CHANGED