# edit_prediction_ui: Enforce org configuration to disable Zed provider \(\#53655\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4d025b45c1c5c1202806bb244334fb3654e634fc

Requested commit: 4d025b45c1c5c1202806bb244334fb3654e634fc

Commit: 4d025b45c1c5c1202806bb244334fb3654e634fc

Tree: af469985f1b7d3d6c65e2f9bf66d515ef9f70624

Author: Tom Houlé

Committer: GitHub

## Message

```
edit_prediction_ui: Enforce org configuration to disable Zed provider (#53655)

The Zed provider is now disabled in the selection dropdown when the
current organization has disabled edit predictions. It is also
unselected when you switch organizations to one such organization.

This is also already enforced server side.

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

Co-authored-by: Marshall Bowers <git@maxdeviant.com>
```

## Parents

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

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