Calendar: Include all groups in owner/participant when account selection is not primary group

(and not none)
This commit is contained in:
nathan 2023-07-18 09:32:25 -06:00
parent 870af86639
commit 48063b9059

View File

@ -65,6 +65,7 @@ export class CalendarOwner extends Et2StaticSelectMixin(Et2Select)
else else
{ {
fetch.push(this.egw().accounts('accounts').then(options => {this.static_options = this.static_options.concat(cleanSelectOptions(options))})); fetch.push(this.egw().accounts('accounts').then(options => {this.static_options = this.static_options.concat(cleanSelectOptions(options))}));
fetch.push(this.egw().accounts('groups').then(options => {this.static_options = this.static_options.concat(cleanSelectOptions(options))}));
} }
this.fetchComplete = Promise.all(fetch) this.fetchComplete = Promise.all(fetch)
.then(() => this._renderOptions()); .then(() => this._renderOptions());