From d615be12f031cc84e92e8b25d0004ac74334b440 Mon Sep 17 00:00:00 2001 From: Karolina Malyjurkova Date: Mon, 11 Sep 2023 13:45:47 +0200 Subject: [PATCH] Fixes #36734 - Hide double title on Register Host page --- .../RegistrationCommands/RegistrationCommandsPage/index.js | 2 +- .../react_app/routes/common/PageLayout/PageLayout.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/webpack/assets/javascripts/react_app/routes/RegistrationCommands/RegistrationCommandsPage/index.js b/webpack/assets/javascripts/react_app/routes/RegistrationCommands/RegistrationCommandsPage/index.js index 3fd94feb132..7503852b6c0 100644 --- a/webpack/assets/javascripts/react_app/routes/RegistrationCommands/RegistrationCommandsPage/index.js +++ b/webpack/assets/javascripts/react_app/routes/RegistrationCommands/RegistrationCommandsPage/index.js @@ -173,7 +173,7 @@ const RegistrationCommandsPage = () => { }, [dispatch, hostGroupId, operatingSystemId]); return ( - +
handleSubmit(e)} className="registration_commands_form" diff --git a/webpack/assets/javascripts/react_app/routes/common/PageLayout/PageLayout.js b/webpack/assets/javascripts/react_app/routes/common/PageLayout/PageLayout.js index d88a0df1787..df61c9c6e90 100644 --- a/webpack/assets/javascripts/react_app/routes/common/PageLayout/PageLayout.js +++ b/webpack/assets/javascripts/react_app/routes/common/PageLayout/PageLayout.js @@ -24,6 +24,7 @@ const PageLayout = ({ beforeToolbarComponent, isLoading, pageSectionType, + hideTitle, children, }) => ( <> @@ -32,7 +33,7 @@ const PageLayout = ({