# Fix project group not being removed from sidebar when closing project \(\#54052\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/ce78317a559702a1070d15891dfcb1621289cb28)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: ce78317a559702a1070d15891dfcb1621289cb28

Requested commit: ce78317a559702a1070d15891dfcb1621289cb28

Commit: ce78317a559702a1070d15891dfcb1621289cb28

Tree: ce56a3d8ce38753679ddc9f88591daf964ad1e49

Author: Bennet Bo Fenner

Committer: GitHub

## Message

```
Fix project group not being removed from sidebar when closing project (#54052)

This fixes an issue where closing a project would not remove it from the
sidebar, e.g.


https://github.com/user-attachments/assets/286abf53-061c-4ff4-8697-41babd73191a

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- N/A
```

## Parents

- [49d3570a99b1a5fc5c563ca671abbb2a4fd9caa7](https://git.cafe/gitcafe/zed/commit/49d3570a99b1a5fc5c563ca671abbb2a4fd9caa7?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/ce78317a559702a1070d15891dfcb1621289cb28?format=markdown)
