Fix search results on compose box

lolsob-rspec
Thibaut Girka 2018-08-31 14:18:33 +02:00 committed by ThibG
parent 923a7f3f11
commit f485e2ced3
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>
);