From 881c840ecdb36b80d4f81c55a86adc07c286419d Mon Sep 17 00:00:00 2001 From: kmalyjur Date: Wed, 27 Sep 2023 12:08:30 +0000 Subject: [PATCH] Fixes #36783 - Add condition for title in PageLayout --- .../react_app/routes/common/PageLayout/PageLayout.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 a6c246fcf18..40cd65b5975 100644 --- a/webpack/assets/javascripts/react_app/routes/common/PageLayout/PageLayout.js +++ b/webpack/assets/javascripts/react_app/routes/common/PageLayout/PageLayout.js @@ -1,4 +1,3 @@ -/* eslint-disable react/jsx-no-comment-textnodes */ import React from 'react'; import PropTypes from 'prop-types'; import { Col, Spinner } from 'patternfly-react'; @@ -64,7 +63,7 @@ const PageLayout = ({ {beforeToolbarComponent}
- {!searchable && title} + {!searchable && toolbarButtons && title} {searchable && (