@bigbinary/neeto-tags-frontend 0.0.25 → 0.0.27
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 +15 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/readme.md +6 -0
package/dist/index.js
CHANGED
|
@@ -3507,7 +3507,11 @@ var renderColumnData = function renderColumnData(columns, handleEdit, handleDele
|
|
|
3507
3507
|
id: "actions",
|
|
3508
3508
|
width: "10%",
|
|
3509
3509
|
render: function render(_, tag) {
|
|
3510
|
-
return /*#__PURE__*/React.createElement(
|
|
3510
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
3511
|
+
onClick: function onClick(e) {
|
|
3512
|
+
return e.stopPropagation();
|
|
3513
|
+
}
|
|
3514
|
+
}, /*#__PURE__*/React.createElement(Dropdown, {
|
|
3511
3515
|
icon: MenuHorizontal,
|
|
3512
3516
|
buttonProps: {
|
|
3513
3517
|
style: "text"
|
|
@@ -3535,7 +3539,7 @@ var renderColumnData = function renderColumnData(columns, handleEdit, handleDele
|
|
|
3535
3539
|
style: "danger-text",
|
|
3536
3540
|
className: "neeto-tag-dropdown__button",
|
|
3537
3541
|
"data-cy": "tags-delete-button"
|
|
3538
|
-
})));
|
|
3542
|
+
}))));
|
|
3539
3543
|
}
|
|
3540
3544
|
}]);
|
|
3541
3545
|
};
|
|
@@ -7048,6 +7052,7 @@ var Dashboard = function Dashboard(_ref) {
|
|
|
7048
7052
|
handleMenuToggle = _ref.handleMenuToggle,
|
|
7049
7053
|
tagsPath = _ref.tagsPath,
|
|
7050
7054
|
kbArticleUrl = _ref.kbArticleUrl,
|
|
7055
|
+
onTagRowClick = _ref.onTagRowClick,
|
|
7051
7056
|
_ref$tagsMergable = _ref.tagsMergable,
|
|
7052
7057
|
tagsMergable = _ref$tagsMergable === void 0 ? false : _ref$tagsMergable;
|
|
7053
7058
|
|
|
@@ -7215,7 +7220,14 @@ var Dashboard = function Dashboard(_ref) {
|
|
|
7215
7220
|
currentPageNumber: pageIndex,
|
|
7216
7221
|
handlePageChange: setPageIndex,
|
|
7217
7222
|
totalCount: data === null || data === void 0 ? void 0 : (_data$tags4 = data.tags) === null || _data$tags4 === void 0 ? void 0 : _data$tags4.length,
|
|
7218
|
-
allowRowClick:
|
|
7223
|
+
allowRowClick: onTagRowClick,
|
|
7224
|
+
onRowClick: function onRowClick(event, record, rowIndex) {
|
|
7225
|
+
return onTagRowClick({
|
|
7226
|
+
event: event,
|
|
7227
|
+
tag: record,
|
|
7228
|
+
rowIndex: rowIndex
|
|
7229
|
+
});
|
|
7230
|
+
},
|
|
7219
7231
|
rowSelection: false,
|
|
7220
7232
|
paginationProps: {
|
|
7221
7233
|
showSizeChanger: false
|