Merge remote-tracking branch 'parent/main' into upstream-20240918
This commit is contained in:
commit
4ce35dd837
188 changed files with 1994 additions and 980 deletions
|
@ -79,14 +79,10 @@ export const FollowButton: React.FC<{
|
|||
relationship.followed_by
|
||||
) {
|
||||
label = intl.formatMessage(messages.mutual);
|
||||
} else if (
|
||||
!relationship.following &&
|
||||
isShowItem('relationships') &&
|
||||
relationship.followed_by
|
||||
) {
|
||||
label = intl.formatMessage(messages.followBack);
|
||||
} else if (relationship.following || relationship.requested) {
|
||||
label = intl.formatMessage(messages.unfollow);
|
||||
} else if (relationship.followed_by && isShowItem('relationships')) {
|
||||
label = intl.formatMessage(messages.followBack);
|
||||
} else {
|
||||
label = intl.formatMessage(messages.follow);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue