Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

Commit 01cee87

Browse files
committed
fix sync check on hasNoFollowers
#740 @Happy0
1 parent ebcfe76 commit 01cee87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/profile/obs/contact.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ exports.create = function (api) {
5151
return sync && (!following || !following.length)
5252
})
5353

54-
var hasNoFollowers = computed(followers, followersList => {
55-
return sync && (!followersList || !followersList.length)
54+
var hasNoFollowers = computed([followers, followers.sync], (followers, sync) => {
55+
return sync && (!followers || !followers.length)
5656
})
5757

5858
return {

0 commit comments

Comments
 (0)