@vc-shell/framework 1.0.146 → 1.0.147

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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [1.0.147](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.146...v1.0.147) (2024-01-12)
2
+
3
+
4
+
1
5
  ## [1.0.146](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.145...v1.0.146) (2024-01-11)
2
6
 
3
7
 
@@ -24,7 +24,7 @@ function useMenuServiceFn(): IUseMenuService {
24
24
 
25
25
  const upsert = createUnrefFn((array: MenuItem[], element: MenuItem) => {
26
26
  const i = array.findIndex((_element) => {
27
- return _.isEqual(_element, element) || _element.url === element.url;
27
+ return _.isEqual(_element, element);
28
28
  });
29
29
  if (i > -1) array[i] = { ...element };
30
30
  else array.push({ ...element });
package/dist/framework.js CHANGED
@@ -45603,7 +45603,7 @@ function Ej() {
45603
45603
  Lg.value.push(a), i();
45604
45604
  }
45605
45605
  const t = kb((a, h) => {
45606
- const s = a.findIndex((p) => Jn(p, h) || p.url === h.url);
45606
+ const s = a.findIndex((p) => Jn(p, h));
45607
45607
  s > -1 ? a[s] = { ...h } : a.push({ ...h });
45608
45608
  });
45609
45609
  function r(a, h) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vc-shell/framework",
3
- "version": "1.0.146",
3
+ "version": "1.0.147",
4
4
  "type": "module",
5
5
  "main": "./dist/framework.js",
6
6
  "types": "./dist/index.d.ts",
@@ -52,9 +52,9 @@
52
52
  "whatwg-fetch": "^3.6.19"
53
53
  },
54
54
  "devDependencies": {
55
- "@vc-shell/api-client-generator": "^1.0.146",
56
- "@vc-shell/config-generator": "^1.0.146",
57
- "@vc-shell/ts-config": "^1.0.146",
55
+ "@vc-shell/api-client-generator": "^1.0.147",
56
+ "@vc-shell/config-generator": "^1.0.147",
57
+ "@vc-shell/ts-config": "^1.0.147",
58
58
  "@vitejs/plugin-vue": "^5.0.3",
59
59
  "sass": "^1.69.6",
60
60
  "typescript": "^5.3.3",