Skip to content
Snippets Groups Projects
Commit 4746feaa authored by ThibG's avatar ThibG Committed by Eugen Rochko
Browse files

Add “Domain hidden” badge (#6636)

parent 3d4e788e
No related branches found
No related tags found
No related merge requests found
......@@ -94,6 +94,8 @@ export default class Header extends ImmutablePureComponent {
if (me !== account.get('id') && account.getIn(['relationship', 'muting'])) {
mutingInfo = <span className='account--muting-info'><FormattedMessage id='account.muted' defaultMessage='Muted' /></span>;
} else if (me !== account.get('id') && account.getIn(['relationship', 'domain_blocking'])) {
mutingInfo = <span className='account--muting-info'><FormattedMessage id='account.domain_blocked' defaultMessage='Domain hidden' /></span>;
}
if (me !== account.get('id')) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment