fix requested view for follow requests (#489)

This commit is contained in:
Nolan Lawson 2018-08-25 22:03:26 -07:00 committed by GitHub
parent 73c99904cf
commit dc091f1360
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -65,8 +65,8 @@
return relationship && relationship.following return relationship && relationship.following
}, },
blocking: ({ relationship }) => relationship && relationship.blocking, blocking: ({ relationship }) => relationship && relationship.blocking,
followRequested: ({ relationship, account }) => { followRequested: ({ relationship }) => {
return relationship && relationship.requested && account && account.locked return relationship && relationship.requested
}, },
followLabel: ({ blocking, following, followRequested }) => { followLabel: ({ blocking, following, followRequested }) => {
if (blocking) { if (blocking) {