diff options
-rw-r--r-- | app/javascript/flavours/glitch/features/drawer/index.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/app/javascript/flavours/glitch/features/drawer/index.js b/app/javascript/flavours/glitch/features/drawer/index.js index eb051ba42..226d342fb 100644 --- a/app/javascript/flavours/glitch/features/drawer/index.js +++ b/app/javascript/flavours/glitch/features/drawer/index.js @@ -100,15 +100,15 @@ class Drawer extends React.Component { onSettingsClick={onOpenSettings} /> ) : null} - <DrawerSearch - intl={intl} - onChange={onChange} - onClear={onClear} - onShow={onShow} - onSubmit={onSubmit} - submitted={submitted} - value={searchValue} - /> + {(multiColumn || isSearchPage) && <DrawerSearch + intl={intl} + onChange={onChange} + onClear={onClear} + onShow={onShow} + onSubmit={onSubmit} + submitted={submitted} + value={searchValue} + /> } <div className='contents'> <DrawerAccount account={account} /> {!isSearchPage && <Composer />} |