mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-23 05:41:02 +01:00
Api: Fix account selection was always loading some accounts
This commit is contained in:
parent
48e33e88a9
commit
ad21be3216
@ -63,7 +63,7 @@ export class Et2SelectAccount extends SelectAccountMixin(Et2StaticSelectMixin(Et
|
||||
|
||||
fetch.push(this.egw().accounts('owngroups').then(options => {this.static_options = this.static_options.concat(cleanSelectOptions(options))}));
|
||||
}
|
||||
else
|
||||
else if(["primary_group", "groupmembers"].includes(type))
|
||||
{
|
||||
fetch.push(this.egw().accounts(this.accountType).then(options => {this.static_options = this.static_options.concat(cleanSelectOptions(options))}));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user