|
|
@ -192,10 +192,12 @@ class Header extends ImmutablePureComponent { |
|
|
|
menu.push({ text: intl.formatMessage(messages.domain_blocks), to: '/domain_blocks' }); |
|
|
|
menu.push({ text: intl.formatMessage(messages.domain_blocks), to: '/domain_blocks' }); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
if (account.getIn(['relationship', 'following'])) { |
|
|
|
if (account.getIn(['relationship', 'following'])) { |
|
|
|
if (account.getIn(['relationship', 'showing_reblogs'])) { |
|
|
|
if (!account.getIn(['relationship', 'muting'])) { |
|
|
|
menu.push({ text: intl.formatMessage(messages.hideReblogs, { name: account.get('username') }), action: this.props.onReblogToggle }); |
|
|
|
if (account.getIn(['relationship', 'showing_reblogs'])) { |
|
|
|
} else { |
|
|
|
menu.push({ text: intl.formatMessage(messages.hideReblogs, { name: account.get('username') }), action: this.props.onReblogToggle }); |
|
|
|
menu.push({ text: intl.formatMessage(messages.showReblogs, { name: account.get('username') }), action: this.props.onReblogToggle }); |
|
|
|
} else { |
|
|
|
|
|
|
|
menu.push({ text: intl.formatMessage(messages.showReblogs, { name: account.get('username') }), action: this.props.onReblogToggle }); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
menu.push({ text: intl.formatMessage(account.getIn(['relationship', 'endorsed']) ? messages.unendorse : messages.endorse), action: this.props.onEndorseToggle }); |
|
|
|
menu.push({ text: intl.formatMessage(account.getIn(['relationship', 'endorsed']) ? messages.unendorse : messages.endorse), action: this.props.onEndorseToggle }); |
|
|
|