From ac97af35cb9f7c10617cf60cd73ba104b1a0e17f Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 16 Dec 2022 11:48:12 -0700 Subject: [PATCH] Lets try creating options directly when we get them, rather than going through update first Timing was not getting menu items created soon enough, resulting in IDs instead of names in the options --- api/js/etemplate/Et2Select/Et2SelectAccount.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/etemplate/Et2Select/Et2SelectAccount.ts b/api/js/etemplate/Et2Select/Et2SelectAccount.ts index 648fda124f..dcb5f5decb 100644 --- a/api/js/etemplate/Et2Select/Et2SelectAccount.ts +++ b/api/js/etemplate/Et2Select/Et2SelectAccount.ts @@ -68,7 +68,7 @@ export class Et2SelectAccount extends SelectAccountMixin(Et2StaticSelectMixin(Et fetch.push(this.egw().accounts(this.accountType).then(options => {this.static_options = this.static_options.concat(options)})); } this.fetchComplete = Promise.all(fetch) - .then(() => this.requestUpdate("select_options")); + .then(() => this._renderOptions()); }