mirror of
https://github.com/zed-industries/zed.git
synced 2026-06-01 03:14:56 +07:00
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:
parent
78749a4c2a
commit
776b8304b1
1 changed files with 6 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue