@asaleh37/ui-base 25.10.22-1 → 25.10.24

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": "@asaleh37/ui-base",
3
- "version": "25.10.22-1",
3
+ "version": "25.10.24",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "Ahmed Saleh Mohamed",
@@ -279,10 +279,7 @@ export default function NavigationTree() {
279
279
  );
280
280
  if (
281
281
  navigationItem?.action === "NAVIGATION" &&
282
- navigationItem?.actionPayload != null &&
283
- (navigationItem.children === undefined ||
284
- navigationItem.children === null ||
285
- navigationItem.children.length == 0)
282
+ navigationItem?.actionPayload != null
286
283
  ) {
287
284
  navigate(navigationItem?.actionPayload?.path || "");
288
285
  if (isMobile) {