# Hide Inline Assist button if assistant.button is disabled \(\#7932\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a041e07c995a2828b5834d852cb83e9e0b10b7ce

Requested commit: a041e07c995a2828b5834d852cb83e9e0b10b7ce

Commit: a041e07c995a2828b5834d852cb83e9e0b10b7ce

Tree: 1bdf0e1c670ec85c6bc9f9881fcea94ae1ca17a8

Author: Aleksei Trifonov

Committer: GitHub

## Message

```
Hide Inline Assist button if assistant.button is disabled (#7932)

This PR adds check for `assistant.button` setting in quick bar, to hide
it when the setting is set to false. It seems that the setting can be a
separate one, I would be happy to add it if needed.

Release Notes:

- Improved `assistant.button` setting so that `Inline Assist` button in
editor quick bar is also hidden
([#4500](https://github.com/zed-industries/zed/issues/4500)).
```

## Parents

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

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