Fix search results on compose box

master
Thibaut Girka 6 years ago committed by ThibG
parent b4f548fa18
commit 0f1db47a7e
  1. 9
      app/javascript/flavours/glitch/features/drawer/index.js

@ -113,10 +113,11 @@ class Drawer extends React.Component {
{!isSearchPage && <DrawerAccount account={account} />} {!isSearchPage && <DrawerAccount account={account} />}
{!isSearchPage && <Composer />} {!isSearchPage && <Composer />}
{multiColumn && <button className='mastodon' onClick={onClickElefriend} />} {multiColumn && <button className='mastodon' onClick={onClickElefriend} />}
<DrawerResults {(multiColumn || isSearchPage) &&
results={results} <DrawerResults
visible={submitted && !searchHidden} results={results}
/> visible={submitted && !searchHidden}
/>}
</div> </div>
</div> </div>
); );

Loading…
Cancel
Save