@uxf/cms 11.33.0 → 11.33.1

Sign up to get free protection for your applications and to get access to all the features.
package/lib/menu/model.js CHANGED
@@ -2,7 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MenuItem = void 0;
4
4
  const empty_array_1 = require("@uxf/core/constants/empty-array");
5
- const is_not_nil_1 = require("@uxf/core/utils/is-not-nil");
6
5
  class MenuItem {
7
6
  static create(title, type) {
8
7
  return new MenuItem(title, type);
@@ -54,7 +53,7 @@ class MenuItem {
54
53
  return this;
55
54
  }
56
55
  isActive(router, activeRoute) {
57
- return (0, is_not_nil_1.isNotNil)(this._activeItemResolver && this._activeItemResolver(router, activeRoute));
56
+ return Boolean(this._activeItemResolver && this._activeItemResolver(router, activeRoute));
58
57
  }
59
58
  hasActiveChildren(router, activeRoute) {
60
59
  return this.children.some((item) => item.isActive(router, activeRoute));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxf/cms",
3
- "version": "11.33.0",
3
+ "version": "11.33.1",
4
4
  "description": "UXF Cms",
5
5
  "author": "UXFans <dev@uxf.cz>",
6
6
  "homepage": "https://gitlab.com/uxf-npm/cms#readme",
@@ -32,7 +32,7 @@
32
32
  "@redux-devtools/extension": "3.3.0",
33
33
  "@uxf/core": "11.32.0",
34
34
  "@uxf/core-react": "11.33.0",
35
- "@uxf/data-grid": "11.33.0",
35
+ "@uxf/data-grid": "11.33.1",
36
36
  "@uxf/form": "11.33.0",
37
37
  "@uxf/router": "11.32.0",
38
38
  "@uxf/ui": "11.33.0",