mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 14:26:34 +00:00
3bf15785fa
There's a but in the app's profile section where the link to invite friends is never rendered, even if the currently logged-in user has no added contacts. This is because the UI refers to the count of *all* contacts the user has (even removed ones - remember that, once added, removing a contact is only done by removing a tag). This commit ensures that the invitation link is rendered by relying on the *added* contacts list. It also prevents the "blocked contacts" button from rendered when there's no blocked contacts.