Skip to content

Commit

Permalink
fix missing i18n in header MfeMenuContainer
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanjpburgos committed Feb 26, 2025
1 parent bc514ee commit 21627d3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/ui/internal-page/VerticalMenuContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -441,13 +441,13 @@ const EntandoMenu = ({
};

const MfeMenuContainer = ({
menuId, headerId, onStartTutorial, appTourLastStep,
menuId, headerId, onStartTutorial, appTourLastStep, intl,
}) => (
<div className="MfeMenuContainer">
<div className="MfeMenuContainer__header-menu-container">
{
headerId ? <MfeContainer id={headerId} />
: getHeader(onStartTutorial)
: getHeader(onStartTutorial, intl)
}
</div>
{
Expand All @@ -463,6 +463,7 @@ const MfeMenuContainer = ({
);

MfeMenuContainer.propTypes = {
intl: intlShape.isRequired,
menuId: PropTypes.string.isRequired,
headerId: PropTypes.string.isRequired,
onStartTutorial: PropTypes.func.isRequired,
Expand All @@ -480,6 +481,7 @@ const VerticalMenu = (props) => {
return isMFEMenuEnabled
?
<MfeMenuContainer
intl={props.intl}
menuId={mfeMenu.id}
onStartTutorial={props.onStartTutorial}
appTourLastStep={props.appTourLastStep}
Expand Down

0 comments on commit 21627d3

Please sign in to comment.