ba-js-common-header 0.0.69 → 0.0.70

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.
@@ -17130,6 +17130,9 @@ function Title() {
17130
17130
  config: config.stiff
17131
17131
  });
17132
17132
  const dispatch = useDispatch();
17133
+ const {
17134
+ i18n
17135
+ } = useI18n();
17133
17136
  useEffect(() => {
17134
17137
  var _a2;
17135
17138
  const menuItemLabel = ((_a2 = items.find((item) => item.id === subMenus[subMenus.length - 1])) == null ? void 0 : _a2.label) || subMenus[subMenus.length - 1];
@@ -17154,7 +17157,7 @@ function Title() {
17154
17157
  }), /* @__PURE__ */ jsx("span", {
17155
17158
  className: "ms-3",
17156
17159
  id: "hd-submenu-title",
17157
- children: label
17160
+ children: label && i18n.translate(label).fetch()
17158
17161
  })]
17159
17162
  }));
17160
17163
  }