From a7f047c358109f3abb940d94c671dd7e91bb9fc9 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 eb30aa8f44..1246944160 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| {