@bigbinary/neeto-tags-frontend 0.0.37 → 0.0.38
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 +4 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3640,7 +3640,6 @@ var renderColumnData = function renderColumnData(columns, handleEdit, handleDele
|
|
|
3640
3640
|
return handleEdit(tag);
|
|
3641
3641
|
}
|
|
3642
3642
|
}, instance.t("edit")), /*#__PURE__*/React.createElement(MenuItem.Button, {
|
|
3643
|
-
style: "danger",
|
|
3644
3643
|
"data-cy": "tags-delete-button",
|
|
3645
3644
|
onClick: function onClick() {
|
|
3646
3645
|
return handleDelete(tag);
|
|
@@ -7182,7 +7181,7 @@ var EmptyState = function EmptyState(_ref) {
|
|
|
7182
7181
|
};
|
|
7183
7182
|
|
|
7184
7183
|
var Dashboard = function Dashboard(_ref) {
|
|
7185
|
-
var _data$tags2,
|
|
7184
|
+
var _data$tags2, _tagType$label;
|
|
7186
7185
|
|
|
7187
7186
|
var breadcrumbs = _ref.breadcrumbs,
|
|
7188
7187
|
createTags = _ref.createTags,
|
|
@@ -7347,8 +7346,8 @@ var Dashboard = function Dashboard(_ref) {
|
|
|
7347
7346
|
component: "h4",
|
|
7348
7347
|
className: "neeto-ui-gray-800 font-semibold"
|
|
7349
7348
|
}, t("tagsWithCount", {
|
|
7350
|
-
count: data === null || data === void 0 ? void 0 :
|
|
7351
|
-
type: tagType.label
|
|
7349
|
+
count: data === null || data === void 0 ? void 0 : data.totalCount,
|
|
7350
|
+
type: (_tagType$label = tagType.label) === null || _tagType$label === void 0 ? void 0 : _tagType$label.toLowerCase()
|
|
7352
7351
|
}))
|
|
7353
7352
|
}), /*#__PURE__*/React.createElement("div", {
|
|
7354
7353
|
className: "neeto-tags--table__wrapper"
|
|
@@ -7359,7 +7358,7 @@ var Dashboard = function Dashboard(_ref) {
|
|
|
7359
7358
|
defaultPageSize: DEFAULT_PAGE_SIZE,
|
|
7360
7359
|
currentPageNumber: pageIndex,
|
|
7361
7360
|
handlePageChange: setPageIndex,
|
|
7362
|
-
totalCount: data === null || data === void 0 ? void 0 :
|
|
7361
|
+
totalCount: data === null || data === void 0 ? void 0 : data.totalCount,
|
|
7363
7362
|
allowRowClick: onTagRowClick,
|
|
7364
7363
|
onRowClick: function onRowClick(event, record, rowIndex) {
|
|
7365
7364
|
return onTagRowClick({
|