@geotab/zenith 1.26.0-beta.0 → 1.26.0-beta.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.
|
@@ -9,7 +9,7 @@ const dataFeedCell_1 = require("./dataFeedCell/dataFeedCell");
|
|
|
9
9
|
const actionsMenu_1 = require("../table/actions/actionsMenu");
|
|
10
10
|
const useVisibleColumns_1 = require("./hooks/useVisibleColumns");
|
|
11
11
|
const getIconFromColumnComponent = (column, entity, isNested) => {
|
|
12
|
-
const renderIcon = ("renderIcon" in column.columnComponent) ? column.columnComponent.renderIcon : undefined;
|
|
12
|
+
const renderIcon = ("renderIcon" in column.columnComponent) ? column.columnComponent.renderIcon.bind(column.columnComponent) : undefined;
|
|
13
13
|
if (renderIcon) {
|
|
14
14
|
return renderIcon(entity, isNested);
|
|
15
15
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geotab/zenith",
|
|
3
|
-
"version": "1.26.0-beta.
|
|
3
|
+
"version": "1.26.0-beta.1",
|
|
4
4
|
"description": "Zenith components library on React",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
"**/*.less",
|
|
10
10
|
"**/react-chartjs/dateAdapter.ts"
|
|
11
11
|
],
|
|
12
|
+
"publishConfig": {
|
|
13
|
+
"access": "public"
|
|
14
|
+
},
|
|
12
15
|
"module": "dist/index.js",
|
|
13
16
|
"scripts": {
|
|
14
17
|
"test": "npm run clean && npm run test-build && jest",
|
|
@@ -98,8 +101,5 @@
|
|
|
98
101
|
"last 1 firefox version",
|
|
99
102
|
"last 1 safari version"
|
|
100
103
|
]
|
|
101
|
-
},
|
|
102
|
-
"publishConfig": {
|
|
103
|
-
"access": "public"
|
|
104
104
|
}
|
|
105
105
|
}
|