fix state where no profile is selected

This commit is contained in:
Nate 2025-02-15 23:03:28 -08:00
parent 62978d19ee
commit e857066bc7

View file

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