fix state where no profile is selected
This commit is contained in:
parent
62978d19ee
commit
e857066bc7
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ export class ConfigHandler {
|
|||
return (
|
||||
this.profiles.find(
|
||||
(p) => p.profileDescription.id === this.selectedProfileId,
|
||||
) ?? null
|
||||
) ?? this.profiles[0]
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue