Fix search results on compose box

This commit is contained in:
Thibaut Girka 2018-08-31 14:18:33 +02:00 committed by ThibG
parent b4f548fa18
commit 0f1db47a7e

View file

@ -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>
);