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
1 changed files with 5 additions and 4 deletions

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