@bigbinary/neeto-tags-frontend 0.0.25 → 0.0.26
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/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/readme.md +6 -0
package/dist/index.js
CHANGED
|
@@ -7048,6 +7048,7 @@ var Dashboard = function Dashboard(_ref) {
|
|
|
7048
7048
|
handleMenuToggle = _ref.handleMenuToggle,
|
|
7049
7049
|
tagsPath = _ref.tagsPath,
|
|
7050
7050
|
kbArticleUrl = _ref.kbArticleUrl,
|
|
7051
|
+
onTagRowClick = _ref.onTagRowClick,
|
|
7051
7052
|
_ref$tagsMergable = _ref.tagsMergable,
|
|
7052
7053
|
tagsMergable = _ref$tagsMergable === void 0 ? false : _ref$tagsMergable;
|
|
7053
7054
|
|
|
@@ -7215,7 +7216,14 @@ var Dashboard = function Dashboard(_ref) {
|
|
|
7215
7216
|
currentPageNumber: pageIndex,
|
|
7216
7217
|
handlePageChange: setPageIndex,
|
|
7217
7218
|
totalCount: data === null || data === void 0 ? void 0 : (_data$tags4 = data.tags) === null || _data$tags4 === void 0 ? void 0 : _data$tags4.length,
|
|
7218
|
-
allowRowClick:
|
|
7219
|
+
allowRowClick: onTagRowClick,
|
|
7220
|
+
onRowClick: function onRowClick(event, record, rowIndex) {
|
|
7221
|
+
return onTagRowClick({
|
|
7222
|
+
event: event,
|
|
7223
|
+
tag: record,
|
|
7224
|
+
rowIndex: rowIndex
|
|
7225
|
+
});
|
|
7226
|
+
},
|
|
7219
7227
|
rowSelection: false,
|
|
7220
7228
|
paginationProps: {
|
|
7221
7229
|
showSizeChanger: false
|