about summary refs log tree commit diff
path: root/app/javascript/flavours
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-08-31 14:01:41 +0200
committerThibG <thib@sitedethib.com>2018-08-31 18:33:46 +0200
commitb4f548fa18487e2335ec032369d452146b19cd42 (patch)
treedc2e0357f624d5ffc180dbbbbc13d08a6a7bccad /app/javascript/flavours
parent4a686ddf8ac7a2ab2666199d28be666d6bbd691b (diff)
Fix account header showing on search page
Diffstat (limited to 'app/javascript/flavours')
-rw-r--r--app/javascript/flavours/glitch/features/drawer/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/drawer/index.js b/app/javascript/flavours/glitch/features/drawer/index.js
index 226d342fb..eac0370c2 100644
--- a/app/javascript/flavours/glitch/features/drawer/index.js
+++ b/app/javascript/flavours/glitch/features/drawer/index.js
@@ -110,7 +110,7 @@ class Drawer extends React.Component {
             value={searchValue}
           /> }
         <div className='contents'>
-          <DrawerAccount account={account} />
+          {!isSearchPage && <DrawerAccount account={account} />}
           {!isSearchPage && <Composer />}
           {multiColumn && <button className='mastodon' onClick={onClickElefriend} />}
           <DrawerResults