collab: Remove incoming invite badge count from panel icon (#53363)

Anthony Eid created

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- N/A or Added/Fixed/Improved ...

Change summary

crates/collab_ui/src/collab_panel.rs | 11 -----------
1 file changed, 11 deletions(-)

Detailed changes

crates/collab_ui/src/collab_panel.rs 🔗

@@ -3728,17 +3728,6 @@ impl Panel for CollabPanel {
             .then_some(ui::IconName::UserGroup)
     }
 
-    fn icon_label(&self, _window: &Window, cx: &App) -> Option<String> {
-        let user_store = self.user_store.read(cx);
-        let count = user_store.incoming_contact_requests().len()
-            + self.channel_store.read(cx).channel_invitations().len();
-        if count == 0 {
-            None
-        } else {
-            Some(count.to_string())
-        }
-    }
-
     fn icon_tooltip(&self, _window: &Window, _cx: &App) -> Option<&'static str> {
         Some("Collab Panel")
     }