# Fix panic when saved conversations directory changes \(\#2685\) · gitcafe/zed

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

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

Visibility: public

Requested revision: dd6629416cb17498a3dca53f83460be75b8d318c

Requested commit: dd6629416cb17498a3dca53f83460be75b8d318c

Commit: dd6629416cb17498a3dca53f83460be75b8d318c

Tree: ad9207193fcb6842e36b8c5482eccda33357c62f

Author: Antonio Scandurra

Committer: GitHub

## Message

```
Fix panic when saved conversations directory changes (#2685)

Fixes
https://linear.app/zed-industries/issue/Z-2542/deleting-assistant-conversations-with-zed-open-can-cause-a-crash

We were updating the view's state but missed a `notify`, which caused
the `UniformList` responsible for rendering the saved conversations to
panic when some files were deleted.

Release Notes:

- Fixed a crash that could happen when deleting a saved assistant
conversation from the filesystem.
```

## Parents

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

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

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