agent_ui: Fix signed-in check in Zed provider configuration (#36639)
This PR fixes the check for if the user is signed in in the Agent panel configuration. Supersedes https://github.com/zed-industries/zed/pull/36634. Release Notes: - Fixed the user's plan badge near the Zed provider in the Agent panel not showing despite being signed in.
This commit is contained in:
parent
ffb995181e
commit
c20233e0b4
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ impl AgentConfiguration {
|
|||
let is_signed_in = self
|
||||
.workspace
|
||||
.read_with(cx, |workspace, _| {
|
||||
workspace.client().status().borrow().is_connected()
|
||||
!workspace.client().status().borrow().is_signed_out()
|
||||
})
|
||||
.unwrap_or(false);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue