Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

title_bar: Don't show a badge for organizations without a plan (#53841)

Marshall Bowers5c7325ad9a4e
diff --git a/crates/title_bar/src/title_bar.rs b/crates/title_bar/src/title_bar.rs
index 12469441600..e427d5aa7bb 100644
--- a/crates/title_bar/src/title_bar.rs
+++ b/crates/title_bar/src/title_bar.rs
@@ -1180,7 +1180,7 @@ impl TitleBar {
)
}),
)
- .child(PlanChip::new(plan.unwrap_or(Plan::ZedFree)))
+ .children(plan.map(|plan| PlanChip::new(plan)))
.into_any_element()
}
},