assistant panel: Fix wrong state for Zed.dev provider being shown (#15800)
Release Notes: - N/A Co-authored-by: Bennet <bennet@zed.dev>
This commit is contained in:
parent
0d97b236e7
commit
49d0672cdd
1 changed files with 1 additions and 1 deletions
|
@ -435,7 +435,7 @@ impl Render for ConfigurationView {
|
|||
const ZED_AI_URL: &str = "https://zed.dev/ai";
|
||||
const ACCOUNT_SETTINGS_URL: &str = "https://zed.dev/account";
|
||||
|
||||
let is_connected = self.state.read(cx).is_signed_out();
|
||||
let is_connected = !self.state.read(cx).is_signed_out();
|
||||
let plan = self.state.read(cx).user_store.read(cx).current_plan();
|
||||
|
||||
let is_pro = plan == Some(proto::Plan::ZedPro);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue