sidebar: Remove pending indicator from header when visiting project again (#57454)
Quick follow-up to https://github.com/zed-industries/zed/pull/57322. We weren't removing the pending notification when re-visiting the project that contains the pending thread (only while the project is still collapsed, though). Release Notes: - N/A
This commit is contained in:
1 parent
76837f3fa1
commit
7d423cc000
1 file changed
+6
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user