@mw-kit/mw-ui 1.7.18 → 1.7.19

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 CHANGED
@@ -12425,7 +12425,7 @@ var MenuComponent = function MenuComponent(props, ref) {
12425
12425
  var rule = rules.map(function (rule) {
12426
12426
  return rule(index, option.data, label);
12427
12427
  }).find(function (result) {
12428
- return result;
12428
+ return result !== true;
12429
12429
  });
12430
12430
 
12431
12431
  if (rule === true || rule === undefined) {