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: Hide organization section when signed out (#63728)

Radhi Rasho80ddc3af3b10
diff --git a/crates/title_bar/src/title_bar.rs b/crates/title_bar/src/title_bar.rs
index a317eb4f1f4..09c36b38555 100644
--- a/crates/title_bar/src/title_bar.rs
+++ b/crates/title_bar/src/title_bar.rs
@@ -1331,7 +1331,7 @@ impl TitleBar {
)
.separator()
})
- .map(|this| {
+ .when(is_signed_in, |this| {
let mut this = this.header("Organization");
for (organization, plan) in &organizations {