Removed search from Notifications page
• Removed: - search from Notifications page
This commit is contained in:
parent
f6e3a9ad96
commit
083218648a
@ -15,6 +15,7 @@ class DefaultLayout extends React.PureComponent {
|
||||
showBackBtn,
|
||||
tabs,
|
||||
title,
|
||||
noSearch,
|
||||
} = this.props
|
||||
|
||||
return (
|
||||
@ -27,6 +28,7 @@ class DefaultLayout extends React.PureComponent {
|
||||
showBackBtn={showBackBtn}
|
||||
tabs={tabs}
|
||||
title={title}
|
||||
noSearch={noSearch}
|
||||
>
|
||||
{children}
|
||||
</Layout>
|
||||
@ -43,6 +45,7 @@ DefaultLayout.propTypes = {
|
||||
noRightSidebar: PropTypes.bool,
|
||||
page: PropTypes.string,
|
||||
showBackBtn: PropTypes.bool,
|
||||
noSearch: PropTypes.bool,
|
||||
tabs: PropTypes.array,
|
||||
title: PropTypes.string.isRequired,
|
||||
}
|
||||
|
@ -38,6 +38,7 @@ class Layout extends React.PureComponent {
|
||||
showGlobalFooter,
|
||||
tabs,
|
||||
title,
|
||||
noSearch,
|
||||
} = this.props
|
||||
|
||||
const mainBlockClasses = CX({
|
||||
@ -63,6 +64,7 @@ class Layout extends React.PureComponent {
|
||||
tabs={tabs}
|
||||
title={title}
|
||||
showBackBtn={showBackBtn}
|
||||
noSearch={noSearch}
|
||||
/>
|
||||
}
|
||||
{
|
||||
@ -175,6 +177,7 @@ Layout.propTypes = {
|
||||
showBackBtn: PropTypes.bool,
|
||||
showLinkFooterInSidebar: PropTypes.bool,
|
||||
showGlobalFooter: PropTypes.bool,
|
||||
noSearch: PropTypes.bool,
|
||||
tabs: PropTypes.array,
|
||||
title: PropTypes.string,
|
||||
}
|
||||
|
@ -52,6 +52,7 @@ class NotificationsPage extends React.PureComponent {
|
||||
|
||||
return (
|
||||
<DefaultLayout
|
||||
noSearch
|
||||
title={title}
|
||||
page='notifications'
|
||||
layout={[
|
||||
|
Loading…
x
Reference in New Issue
Block a user