@cashub/ui-elv 1.0.4 → 1.0.6

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.
Binary file
@@ -143,7 +143,7 @@ const MenuListWithSubMenu = ({
143
143
  .filter((prop) => prop.name)
144
144
  .map((prop, key) => {
145
145
  const href = `${path}${prop.path}`;
146
- const active = currentPath.includes(prop.path);
146
+ const active = currentPath.includes(href);
147
147
 
148
148
  if (prop.parent === true) {
149
149
  return (
@@ -143,7 +143,7 @@ const MenuListWithSubMenu = ({
143
143
  .filter((prop) => prop.name)
144
144
  .map((prop, key) => {
145
145
  const href = `${path}${prop.path}`;
146
- const active = currentPath.includes(prop.path);
146
+ const active = currentPath.includes(href);
147
147
 
148
148
  if (prop.parent === true) {
149
149
  return (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cashub/ui-elv",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "private": false,
5
5
  "author": "CasHUB Team",
6
6
  "description": "CasHUB UI components library (Elavon)",