@fctc/widget-logic 4.7.1 → 4.7.2
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/hooks.d.mts +1 -0
- package/dist/hooks.d.ts +1 -0
- package/dist/hooks.js +1 -1
- package/dist/hooks.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/hooks.d.mts
CHANGED
package/dist/hooks.d.ts
CHANGED
package/dist/hooks.js
CHANGED
package/dist/hooks.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -4460,7 +4460,7 @@ var useMenu = ({
|
|
|
4460
4460
|
xNode: xNode2,
|
|
4461
4461
|
context: context2
|
|
4462
4462
|
}) => {
|
|
4463
|
-
const aidMenu = menu?.action?.id?.id;
|
|
4463
|
+
const aidMenu = menu?.action?.external_xml_id || menu?.action?.id?.id;
|
|
4464
4464
|
if (menu) {
|
|
4465
4465
|
setMenuId(menu.id?.toString() ?? "");
|
|
4466
4466
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -4550,7 +4550,7 @@ var useMenu = ({
|
|
|
4550
4550
|
xNode: xNode2,
|
|
4551
4551
|
context: context2
|
|
4552
4552
|
}) => {
|
|
4553
|
-
const aidMenu = menu?.action?.id?.id;
|
|
4553
|
+
const aidMenu = menu?.action?.external_xml_id || menu?.action?.id?.id;
|
|
4554
4554
|
if (menu) {
|
|
4555
4555
|
setMenuId(menu.id?.toString() ?? "");
|
|
4556
4556
|
}
|