From ed92763176331675f2415e670c3f30c5a8766655 Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 3 Aug 2022 15:30:22 -0600 Subject: [PATCH] Et2LinkAppSelect: Make proper SelectOptions out of app list --- api/js/etemplate/Et2Link/Et2LinkAppSelect.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/api/js/etemplate/Et2Link/Et2LinkAppSelect.ts b/api/js/etemplate/Et2Link/Et2LinkAppSelect.ts index 3cb9c5e81e..9ef4167543 100644 --- a/api/js/etemplate/Et2Link/Et2LinkAppSelect.ts +++ b/api/js/etemplate/Et2Link/Et2LinkAppSelect.ts @@ -203,7 +203,10 @@ export class Et2LinkAppSelect extends SlotMixin(Et2Select) } else if(this.applicationList.length > 0) { - select_options = this.applicationList; + select_options = this.applicationList.map((app) => + { + return {value: app, label: this.egw().lang(app)}; + }); } else {