@webitel/ui-sdk 24.12.141 → 24.12.142

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "24.12.141",
3
+ "version": "24.12.142",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -182,7 +182,7 @@ export default {
182
182
  return flatNav.concat(currentNavItem.subNav);
183
183
  return [...flatNav, currentNavItem];
184
184
  }, [])
185
- .find((navItem) => path.includes(navItem.route));
185
+ .find((navItem) => path.endsWith(navItem.route));
186
186
  const currentExpansion = this.nav
187
187
  .filter((nav) => nav.subNav)
188
188
  .find((nav) => nav.subNav.indexOf(currentNav) !== -1);