Fix clippy::len_zero lint style violations (#36589)

Related: #36577

Release Notes:

- N/A

---------

Signed-off-by: Umesh Yadav <git@umesh.dev>
This commit is contained in:
Umesh Yadav 2025-08-20 20:05:59 +05:30 committed by GitHub
parent 92352f97ad
commit 1e6cefaa56
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 46 additions and 46 deletions

View file

@ -74,7 +74,7 @@ impl Render for AgentPanelOnboarding {
}),
)
.map(|this| {
if enrolled_in_trial || is_pro_user || self.configured_providers.len() >= 1 {
if enrolled_in_trial || is_pro_user || !self.configured_providers.is_empty() {
this
} else {
this.child(ApiKeysWithoutProviders::new())