diff --git a/api/js/etemplate/Et2Select/Et2Select.ts b/api/js/etemplate/Et2Select/Et2Select.ts index a74d334e5c..1d640f5154 100644 --- a/api/js/etemplate/Et2Select/Et2Select.ts +++ b/api/js/etemplate/Et2Select/Et2Select.ts @@ -570,7 +570,7 @@ export class Et2SelectTab extends Et2SelectApp let option : SelectOption = {value: value, label: value}; if (matches) { - option = options.filter(option => option.value == matches[1])[0]; + option = options.filter(option => option.value == matches[1])[0] || {value: value, label: egw.lang(matches[1])}; option.value = value; option.label += ' '+egw.lang('Tab'); }