Skip to content

Commit

Permalink
Fixes #36783 - Add condition for title in PageLayout
Browse files Browse the repository at this point in the history
  • Loading branch information
kmalyjur committed Sep 27, 2023
1 parent d0fcacd commit 881c840
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -64,7 +63,7 @@ const PageLayout = ({
{beforeToolbarComponent}
<div className="title_filter_parent">
<Col className="title_filter" md={6}>
{!searchable && title}
{!searchable && toolbarButtons && title}
{searchable && (
<SearchBar
data={{
Expand Down

0 comments on commit 881c840

Please sign in to comment.