about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/account_timeline/components/header.js
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-04-09 05:02:48 +0200
committerThibaut Girka <thib@sitedethib.com>2019-04-10 09:33:47 +0200
commit92e19501949bac3825c23087e0aeba3109ea12d0 (patch)
tree155cce63b1c821f96174a4d0038ec73e473cc6ec /app/javascript/flavours/glitch/features/account_timeline/components/header.js
parentfa4b51a1100d794f78e895ac692530fb1c4540aa (diff)
[Glitch] Fix glitched out "not found" message for non-existing profiles in web UI
Port 56f29c38b603a98e7b9715c48de022106d8da073 to glitch-soc
Diffstat (limited to 'app/javascript/flavours/glitch/features/account_timeline/components/header.js')
-rw-r--r--app/javascript/flavours/glitch/features/account_timeline/components/header.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/features/account_timeline/components/header.js b/app/javascript/flavours/glitch/features/account_timeline/components/header.js
index 96cabe847..0faa8a424 100644
--- a/app/javascript/flavours/glitch/features/account_timeline/components/header.js
+++ b/app/javascript/flavours/glitch/features/account_timeline/components/header.js
@@ -3,7 +3,6 @@ import ImmutablePropTypes from 'react-immutable-proptypes';
 import PropTypes from 'prop-types';
 import InnerHeader from 'flavours/glitch/features/account/components/header';
 import ActionBar from 'flavours/glitch/features/account/components/action_bar';
-import MissingIndicator from 'flavours/glitch/components/missing_indicator';
 import ImmutablePureComponent from 'react-immutable-pure-component';
 import { FormattedMessage } from 'react-intl';
 import { NavLink } from 'react-router-dom';
@@ -89,7 +88,7 @@ export default class Header extends ImmutablePureComponent {
     const { account, hideTabs, identity_proofs } = this.props;
 
     if (account === null) {
-      return <MissingIndicator />;
+      return null;
     }
 
     return (