Commit 5bf7aadafd4c7fe94a9bc4fead2e244b49cde8ca
don't show follow warning unless friends is "sync"
Matt McKegg committed on 2/18/2018, 4:45:43 AMParent: b7f2763a9d820505e98dd53a87a1bc54231d889b
Files changed
modules/profile/obs/contact.js | changed |
modules/profile/obs/contact.js | ||
---|---|---|
@@ -46,10 +46,10 @@ | ||
46 | 46 | }) |
47 | 47 | |
48 | 48 | var isYou = computed([yourId, id], (a, b) => a === b) |
49 | 49 | |
50 | - var isNotFollowingAnybody = computed(following, followingList => { | |
51 | - return !followingList || !followingList.length | |
50 | + var isNotFollowingAnybody = computed([following, following.sync], (following, sync) => { | |
51 | + return sync && (!following || !following.length) | |
52 | 52 | }) |
53 | 53 | |
54 | 54 | return { |
55 | 55 | followers, |
Built with git-ssb-web