about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/account_timeline/components/header.jsx
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2023-04-17 13:10:52 +0200
committerGitHub <noreply@github.com>2023-04-17 13:10:52 +0200
commitf30c5e7f15f967019245d2c78f3c2e89800eb838 (patch)
treec75cb4589dbc605065f9d32aef783de36631529a /app/javascript/flavours/glitch/features/account_timeline/components/header.jsx
parentf28942cef991c9285236ea3ecace98c9b65c5242 (diff)
parent34f8e696e29683fd8b7113e7997e968869b76473 (diff)
Merge pull request #2181 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/javascript/flavours/glitch/features/account_timeline/components/header.jsx')
-rw-r--r--app/javascript/flavours/glitch/features/account_timeline/components/header.jsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/account_timeline/components/header.jsx b/app/javascript/flavours/glitch/features/account_timeline/components/header.jsx
index eec065b43..9b3c273bc 100644
--- a/app/javascript/flavours/glitch/features/account_timeline/components/header.jsx
+++ b/app/javascript/flavours/glitch/features/account_timeline/components/header.jsx
@@ -4,6 +4,7 @@ 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 ImmutablePureComponent from 'react-immutable-pure-component';
+import MemorialNote from './memorial_note';
 import { FormattedMessage } from 'react-intl';
 import { NavLink } from 'react-router-dom';
 import MovedNote from './moved_note';
@@ -116,6 +117,7 @@ export default class Header extends ImmutablePureComponent {
 
     return (
       <div className='account-timeline__header'>
+        {(!hidden && account.get('memorial')) && <MemorialNote />}
         {(!hidden && account.get('moved')) && <MovedNote from={account} to={account.get('moved')} />}
 
         <InnerHeader