fix error changing app in preferences

This commit is contained in:
ralf 2022-07-19 18:09:58 +02:00
parent 5038d060fe
commit 6ab34234f5

View File

@ -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');
}