# zed: Fix migration banner not hiding after migration has been carried out \(\#31723\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a387bf5f54edce7558dec5c3804b03b51cbbfe9b

Requested commit: a387bf5f54edce7558dec5c3804b03b51cbbfe9b

Commit: a387bf5f54edce7558dec5c3804b03b51cbbfe9b

Tree: eac9118eb40e57ca63c0606155f8c0bb3ad53c34

Author: Smit Barmase

Committer: GitHub

## Message

```
zed: Fix migration banner not hiding after migration has been carried out (#31723)

- https://github.com/zed-industries/zed/pull/30444

This PR broke migration notification to only emit event when content is
migrated. This resulted in the migration banner not going away after
clicking "Backup and Migrate". It should also emit event when it's not
migrated which removes the banner.

Future: I think we should have better tests in place for banner
visibility.

Release Notes:

- Fixed an issue where migration banner wouldn't go away after clicking
"Backup and Migrate".
```

## Parents

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

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