diff --git a/app/javascript/gabsocial/components/navigation_bar.js b/app/javascript/gabsocial/components/navigation_bar.js index 635bbc4a..25f273e9 100644 --- a/app/javascript/gabsocial/components/navigation_bar.js +++ b/app/javascript/gabsocial/components/navigation_bar.js @@ -47,6 +47,7 @@ class NavigationBar extends ImmutablePureComponent { showBackBtn: PropTypes.bool, onOpenSidebar: PropTypes.func.isRequired, onOpenNavSettingsPopover: PropTypes.func.isRequired, + noSearch: PropTypes.bool, } handleOnOpenNavSettingsPopover = () => { @@ -65,9 +66,9 @@ class NavigationBar extends ImmutablePureComponent { tabs, account, onOpenSidebar, + noSearch, } = this.props - return (
@@ -93,9 +94,12 @@ class NavigationBar extends ImmutablePureComponent { -
- -
+ { + !noSearch && +
+ +
+ }
@@ -103,6 +107,7 @@ class NavigationBar extends ImmutablePureComponent {
+