From 850c94c683eda04070ccefab1ce5cf6216e435e0 Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Mon, 13 Apr 2026 13:39:22 -0400 Subject: [PATCH] title_bar: Hide plan badge next to username when there are organizations (#53826) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR makes it so we hide the plan badge next to the username in the user menu when there are organizations. We instead show the plans next to each organization: Screenshot 2026-04-13 at 1 29 26 PM Closes CLO-649. Release Notes: - N/A --- crates/title_bar/src/title_bar.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/title_bar/src/title_bar.rs b/crates/title_bar/src/title_bar.rs index eb30aa8f44ff9e35ac22803fc46f568c73e83934..12469441600d7c49f83c53f4130d22db0711d2b3 100644 --- a/crates/title_bar/src/title_bar.rs +++ b/crates/title_bar/src/title_bar.rs @@ -1115,7 +1115,9 @@ impl TitleBar { .w_full() .justify_between() .child(Label::new(user_login)) - .child(PlanChip::new(plan.unwrap_or(Plan::ZedFree))) + .when(!has_organization, |parent| { + parent.child(PlanChip::new(plan.unwrap_or(Plan::ZedFree))) + }) .into_any_element() }, move |_, cx| {