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,
|
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,
|
||||||
}
|
}
|
||||||
|
@ -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,
|
||||||
}
|
}
|
||||||
|
@ -52,6 +52,7 @@ class NotificationsPage extends React.PureComponent {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<DefaultLayout
|
<DefaultLayout
|
||||||
|
noSearch
|
||||||
title={title}
|
title={title}
|
||||||
page='notifications'
|
page='notifications'
|
||||||
layout={[
|
layout={[
|
||||||
|
Loading…
x
Reference in New Issue
Block a user