@realtek/core-theme 0.0.159 → 0.0.160
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-lib/index.cjs +1 -1
- package/dist-lib/index.cjs.map +1 -1
- package/dist-lib/index.js +2 -1
- package/dist-lib/index.js.map +1 -1
- package/package.json +1 -1
package/dist-lib/index.js
CHANGED
|
@@ -19361,6 +19361,7 @@ function $S(e) {
|
|
|
19361
19361
|
};
|
|
19362
19362
|
}
|
|
19363
19363
|
function eC(e) {
|
|
19364
|
+
let t = String(e.menu_type ?? e.menuType ?? e.placement ?? "MENU").toUpperCase();
|
|
19364
19365
|
return {
|
|
19365
19366
|
...e,
|
|
19366
19367
|
menuName: e.menu_name,
|
|
@@ -19368,7 +19369,7 @@ function eC(e) {
|
|
|
19368
19369
|
menuKey: e.menu_key,
|
|
19369
19370
|
key: e.menu_key,
|
|
19370
19371
|
parentMenuId: Number(e.parent_menu_id ?? 0),
|
|
19371
|
-
placement:
|
|
19372
|
+
placement: t === "FOOTER" ? "footer" : "main",
|
|
19372
19373
|
icon: e.icon,
|
|
19373
19374
|
status: e.status
|
|
19374
19375
|
};
|