updates menu label based on un/following
This commit is contained in:
parent
3542a88d98
commit
d4663e9bf1
|
@ -432,7 +432,10 @@ class NotificationsPage extends Component<any, INotificationsPageState> {
|
|||
<MenuItem
|
||||
onClick={() => this.toggleFollow(notif.account)}
|
||||
>
|
||||
Follow
|
||||
{this.state.relationships[notif.account.id]
|
||||
.following
|
||||
? "Unfollow"
|
||||
: "Follow"}
|
||||
</MenuItem>
|
||||
</>
|
||||
) : null}
|
||||
|
|
Loading…
Reference in New Issue