Removed search from Notifications page

• Removed:
- search from Notifications page
This commit is contained in:
mgabdev 2020-10-29 23:36:09 -05:00
parent f6e3a9ad96
commit 083218648a
3 changed files with 7 additions and 0 deletions

View File

@ -15,6 +15,7 @@ class DefaultLayout extends React.PureComponent {
showBackBtn, showBackBtn,
tabs, tabs,
title, title,
noSearch,
} = this.props } = this.props
return ( return (
@ -27,6 +28,7 @@ class DefaultLayout extends React.PureComponent {
showBackBtn={showBackBtn} showBackBtn={showBackBtn}
tabs={tabs} tabs={tabs}
title={title} title={title}
noSearch={noSearch}
> >
{children} {children}
</Layout> </Layout>
@ -43,6 +45,7 @@ DefaultLayout.propTypes = {
noRightSidebar: PropTypes.bool, noRightSidebar: PropTypes.bool,
page: PropTypes.string, page: PropTypes.string,
showBackBtn: PropTypes.bool, showBackBtn: PropTypes.bool,
noSearch: PropTypes.bool,
tabs: PropTypes.array, tabs: PropTypes.array,
title: PropTypes.string.isRequired, title: PropTypes.string.isRequired,
} }

View File

@ -38,6 +38,7 @@ class Layout extends React.PureComponent {
showGlobalFooter, showGlobalFooter,
tabs, tabs,
title, title,
noSearch,
} = this.props } = this.props
const mainBlockClasses = CX({ const mainBlockClasses = CX({
@ -63,6 +64,7 @@ class Layout extends React.PureComponent {
tabs={tabs} tabs={tabs}
title={title} title={title}
showBackBtn={showBackBtn} showBackBtn={showBackBtn}
noSearch={noSearch}
/> />
} }
{ {
@ -175,6 +177,7 @@ Layout.propTypes = {
showBackBtn: PropTypes.bool, showBackBtn: PropTypes.bool,
showLinkFooterInSidebar: PropTypes.bool, showLinkFooterInSidebar: PropTypes.bool,
showGlobalFooter: PropTypes.bool, showGlobalFooter: PropTypes.bool,
noSearch: PropTypes.bool,
tabs: PropTypes.array, tabs: PropTypes.array,
title: PropTypes.string, title: PropTypes.string,
} }

View File

@ -52,6 +52,7 @@ class NotificationsPage extends React.PureComponent {
return ( return (
<DefaultLayout <DefaultLayout
noSearch
title={title} title={title}
page='notifications' page='notifications'
layout={[ layout={[