mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
fix TypeError for account-selection type "primary_group"
This commit is contained in:
parent
6bf74dcb11
commit
3a92e104da
@ -60,7 +60,7 @@ export class Et2SelectAccount extends Et2Select
|
|||||||
{
|
{
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
let select_options : Array<SelectOption>;
|
let select_options : Array<SelectOption> = [];
|
||||||
// for primary_group we only display owngroups == own memberships, not other groups
|
// for primary_group we only display owngroups == own memberships, not other groups
|
||||||
if (type === 'primary_group' && this.accountType !== 'accounts')
|
if (type === 'primary_group' && this.accountType !== 'accounts')
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user