Commit 01cee878b8ca9ff653f893db11ea3abc0f7eb5f8
fix sync check on hasNoFollowers
#740 @happy0Matt McKegg committed on 2/20/2018, 11:44:35 PM
Parent: ebcfe76e37f1f3c733650bd4f5c54d7a6d199e9c
Files changed
modules/profile/obs/contact.js | changed |
modules/profile/obs/contact.js | ||
---|---|---|
@@ -50,10 +50,10 @@ | ||
50 | 50 | var isNotFollowingAnybody = computed([following, following.sync], (following, sync) => { |
51 | 51 | return sync && (!following || !following.length) |
52 | 52 | }) |
53 | 53 | |
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) | |
56 | 56 | }) |
57 | 57 | |
58 | 58 | return { |
59 | 59 | followers, |
Built with git-ssb-web