Allow opening channel notes from the channel list

Max Brunsfeld created

Change summary

crates/collab_ui2/src/collab_panel.rs | 3 +++
1 file changed, 3 insertions(+)

Detailed changes

crates/collab_ui2/src/collab_panel.rs 🔗

@@ -2619,6 +2619,9 @@ impl CollabPanel {
                                                     } else {
                                                         Color::Muted
                                                     })
+                                                    .on_click(cx.listener(move |this, _, cx| {
+                                                        this.open_channel_notes(channel_id, cx)
+                                                    }))
                                                     .tooltip(|cx| {
                                                         Tooltip::text("Open channel notes", cx)
                                                     }),