Fix search results on compose box

main
Thibaut Girka 6 years ago committed by ThibG
parent b4f548fa18
commit 0f1db47a7e

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

Loading…
Cancel
Save