Merge pull request #4188 from continuedev/nate/fix-no-profile-state

fix state where no profile is selected
This commit is contained in:
Nate Sesti 2025-02-15 23:33:04 -08:00 • committed by GitHub
commit 62e2e96869
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -112,7 +112,7 @@ export class ConfigHandler {
return (
this.profiles.find(
(p) => p.profileDescription.id === this.selectedProfileId,
) ?? null
) ?? this.profiles[0]
);
}