biz-a-cli 2.3.80-15280 → 2.3.80-15282
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.
|
@@ -60,6 +60,9 @@ export const normalizeMenuNode = (menu) => {
|
|
|
60
60
|
caption,
|
|
61
61
|
link: Array.isArray(menu?.link) ? menu.link : inferredLink,
|
|
62
62
|
subMenu: normalizedChildren,
|
|
63
|
+
// Preserve a generic external-link leaf: a menu node may carry an externalUrl (opened in a new tab
|
|
64
|
+
// by the client) instead of an internal route. App-agnostic passthrough (only present when set).
|
|
65
|
+
...(typeof menu?.externalUrl === "string" && menu.externalUrl.trim().length > 0 ? { externalUrl: menu.externalUrl } : {}),
|
|
63
66
|
};
|
|
64
67
|
};
|
|
65
68
|
|