@uxf/cms 11.33.0 → 11.33.2
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/menu/model.js +1 -2
- package/package.json +5 -5
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 (
|
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.
|
3
|
+
"version": "11.33.2",
|
4
4
|
"description": "UXF Cms",
|
5
5
|
"author": "UXFans <dev@uxf.cz>",
|
6
6
|
"homepage": "https://gitlab.com/uxf-npm/cms#readme",
|
@@ -32,11 +32,11 @@
|
|
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.
|
36
|
-
"@uxf/form": "11.33.
|
35
|
+
"@uxf/data-grid": "11.33.2",
|
36
|
+
"@uxf/form": "11.33.2",
|
37
37
|
"@uxf/router": "11.32.0",
|
38
|
-
"@uxf/ui": "11.33.
|
39
|
-
"@uxf/wysiwyg": "11.33.
|
38
|
+
"@uxf/ui": "11.33.2",
|
39
|
+
"@uxf/wysiwyg": "11.33.2",
|
40
40
|
"axios": "1.7.5",
|
41
41
|
"axios-hooks": "5.0.2",
|
42
42
|
"es6-error": "4.1.1",
|