Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
title_bar: Hide plan badge next to username when there are organizations (#53826)
Marshall Bowers850c94c683ed
diff --git a/crates/title_bar/src/title_bar.rs b/crates/title_bar/src/title_bar.rsindex eb30aa8f44f..12469441600 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| {