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.

sidebar: Remove pending indicator from header when visiting project again (#57454)

Danilo Leal776b8304b1d6
diff --git a/crates/sidebar/src/sidebar.rs b/crates/sidebar/src/sidebar.rs
index b02beeeee0b..6eef1741927 100644
--- a/crates/sidebar/src/sidebar.rs
+++ b/crates/sidebar/src/sidebar.rs
@@ -1632,6 +1632,12 @@ impl Sidebar {
}
}
}
+
+ if is_active
+ && let Some(ActiveEntry::Thread { thread_id, .. }) = self.active_entry.as_ref()
+ {
+ notified_threads.remove(thread_id);
+ }
}
let has_visible_rows = !threads.is_empty() || !terminals.is_empty();