From 1ec81e02da8b7d24648186ad3c58d02583ed5ffb Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Tue, 5 Dec 2023 15:44:07 -0800 Subject: [PATCH] Allow opening channel notes from the channel list --- crates/collab_ui2/src/collab_panel.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/collab_ui2/src/collab_panel.rs b/crates/collab_ui2/src/collab_panel.rs index 272f02bb49105bc55c2b4ca8a0755a4e045e0342..bfef193cf73cc3b4129815bf305d88653d7e88ba 100644 --- a/crates/collab_ui2/src/collab_panel.rs +++ b/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) }),