git ssb

0+

alanz / patchwork



forked from Matt McKegg / patchwork

Commit 5bf7aadafd4c7fe94a9bc4fead2e244b49cde8ca

don't show follow warning unless friends is "sync"

Matt McKegg committed on 2/18/2018, 4:45:43 AM
Parent: b7f2763a9d820505e98dd53a87a1bc54231d889b

Files changed

modules/profile/obs/contact.jschanged
modules/profile/obs/contact.jsView
@@ -46,10 +46,10 @@
4646 })
4747
4848 var isYou = computed([yourId, id], (a, b) => a === b)
4949
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)
5252 })
5353
5454 return {
5555 followers,

Built with git-ssb-web