fix TypeError for account-selection type "primary_group"

This commit is contained in:
ralf 2022-07-29 09:22:25 +02:00
parent 6bf74dcb11
commit 3a92e104da

View File

@ -60,7 +60,7 @@ export class Et2SelectAccount extends Et2Select
{
return [];
}
let select_options : Array<SelectOption>;
let select_options : Array<SelectOption> = [];
// for primary_group we only display owngroups == own memberships, not other groups
if (type === 'primary_group' && this.accountType !== 'accounts')
{