mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
fix error changing app in preferences
This commit is contained in:
parent
5038d060fe
commit
6ab34234f5
@ -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');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user