diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-08-31 14:18:33 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2018-08-31 18:33:46 +0200 |
commit | 0f1db47a7e551bfc6a2f59d7f2def131bcb5b43c (patch) | |
tree | a00c206c57439549d088e4227700d7eec1c355e2 | |
parent | b4f548fa18487e2335ec032369d452146b19cd42 (diff) |
Fix search results on compose box
-rw-r--r-- | app/javascript/flavours/glitch/features/drawer/index.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/app/javascript/flavours/glitch/features/drawer/index.js b/app/javascript/flavours/glitch/features/drawer/index.js index eac0370c2..4649e404f 100644 --- a/app/javascript/flavours/glitch/features/drawer/index.js +++ b/app/javascript/flavours/glitch/features/drawer/index.js @@ -113,10 +113,11 @@ class Drawer extends React.Component { {!isSearchPage && <DrawerAccount account={account} />} {!isSearchPage && <Composer />} {multiColumn && <button className='mastodon' onClick={onClickElefriend} />} - <DrawerResults - results={results} - visible={submitted && !searchHidden} - /> + {(multiColumn || isSearchPage) && + <DrawerResults + results={results} + visible={submitted && !searchHidden} + />} </div> </div> ); |