git ssb

10+

Matt McKegg / patchwork



Commit 01cee878b8ca9ff653f893db11ea3abc0f7eb5f8

fix sync check on hasNoFollowers

#740 @happy0
Matt McKegg committed on 2/20/2018, 11:44:35 PM
Parent: ebcfe76e37f1f3c733650bd4f5c54d7a6d199e9c

Files changed

modules/profile/obs/contact.jschanged
modules/profile/obs/contact.jsView
@@ -50,10 +50,10 @@
5050 var isNotFollowingAnybody = computed([following, following.sync], (following, sync) => {
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 {
5959 followers,

Built with git-ssb-web