jclib-ui 1.0.25 → 1.0.27
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/dist/jclib-ui.es.js
CHANGED
|
@@ -22305,15 +22305,16 @@ function NavbarMU({
|
|
|
22305
22305
|
if (e.key != "Enter") {
|
|
22306
22306
|
return;
|
|
22307
22307
|
}
|
|
22308
|
-
|
|
22308
|
+
for (const opc of opcoes) {
|
|
22309
22309
|
if (opc.menus && opc.menus.length != 0) {
|
|
22310
22310
|
const option = opc.menus.find((e2) => e2.route != null && e2.route != "");
|
|
22311
22311
|
if (option) {
|
|
22312
22312
|
history.push(option.route);
|
|
22313
|
-
|
|
22313
|
+
setIsOpen(false);
|
|
22314
|
+
break;
|
|
22314
22315
|
}
|
|
22315
22316
|
}
|
|
22316
|
-
}
|
|
22317
|
+
}
|
|
22317
22318
|
}
|
|
22318
22319
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
22319
22320
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "navbar-mu-area", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "mu--container", children: [
|