]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Add missing back button header for invalid account
authortrwnh <a@trwnh.com>
Mon, 7 Oct 2019 02:33:31 +0000 (21:33 -0500)
committerThibaut Girka <thib@sitedethib.com>
Thu, 10 Oct 2019 19:00:13 +0000 (21:00 +0200)
Port 95f21ab87f3d459311c411cf429ac051a668218f to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
app/javascript/flavours/glitch/features/account_timeline/index.js

index 1f02c1be5256c787175d860c5257546e89c9f6f1..2ef4ff602785ecb732511d92ec0d7fe12c6f9db4 100644 (file)
@@ -9,6 +9,7 @@ import LoadingIndicator from '../../components/loading_indicator';
 import Column from '../ui/components/column';
 import ProfileColumnHeader from 'flavours/glitch/features/account/components/profile_column_header';
 import HeaderContainer from './containers/header_container';
+import ColumnBackButton from 'flavours/glitch/components/column_back_button';
 import { List as ImmutableList } from 'immutable';
 import ImmutablePureComponent from 'react-immutable-pure-component';
 import { FormattedMessage } from 'react-intl';
@@ -82,6 +83,7 @@ class AccountTimeline extends ImmutablePureComponent {
     if (!isAccount) {
       return (
         <Column>
+          <ColumnBackButton multiColumn={multiColumn} />
           <MissingIndicator />
         </Column>
       );