wargerm 0.7.54 → 0.7.55

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.esm.js CHANGED
@@ -7409,17 +7409,17 @@ var TabelCard = function TabelCard(props, ref) {
7409
7409
  items: tableAction2.map(function (item, i) {
7410
7410
  var _actionHandler$item$t2;
7411
7411
 
7412
+ if (item.type == 'custom') {
7413
+ actionConfig[item.type] = {
7414
+ title: item.title,
7415
+ key: item.key,
7416
+ icon: item.icon
7417
+ };
7418
+ }
7419
+
7412
7420
  var btn = actionConfig[item.type];
7413
7421
 
7414
7422
  if (btn) {
7415
- if (item.type == 'custom') {
7416
- actionConfig[item.type] = {
7417
- title: item.title,
7418
- key: item.key,
7419
- icon: item.icon
7420
- };
7421
- }
7422
-
7423
7423
  return {
7424
7424
  key: i,
7425
7425
  label: /*#__PURE__*/React.createElement("a", {
package/dist/index.js CHANGED
@@ -7453,17 +7453,17 @@ var TabelCard = function TabelCard(props, ref) {
7453
7453
  items: tableAction2.map(function (item, i) {
7454
7454
  var _actionHandler$item$t2;
7455
7455
 
7456
+ if (item.type == 'custom') {
7457
+ actionConfig[item.type] = {
7458
+ title: item.title,
7459
+ key: item.key,
7460
+ icon: item.icon
7461
+ };
7462
+ }
7463
+
7456
7464
  var btn = actionConfig[item.type];
7457
7465
 
7458
7466
  if (btn) {
7459
- if (item.type == 'custom') {
7460
- actionConfig[item.type] = {
7461
- title: item.title,
7462
- key: item.key,
7463
- icon: item.icon
7464
- };
7465
- }
7466
-
7467
7467
  return {
7468
7468
  key: i,
7469
7469
  label: /*#__PURE__*/React__default['default'].createElement("a", {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "wargerm",
4
- "version": "0.7.54",
4
+ "version": "0.7.55",
5
5
  "scripts": {
6
6
  "dev": "dumi dev",
7
7
  "docs:build": "dumi build",