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
776b8304b1Danilo Leal committed on 5/21/2026, 11:00:06 PM· committed by GitHubparent78749a4
1 file changedLine totals unavailable