mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
fix empty customfields tab after performance fix
This commit is contained in:
parent
9589b84149
commit
335b66612c
@ -454,7 +454,7 @@ export class et2_customfields_list extends et2_valueWidget implements et2_IDetac
|
||||
for(let key in data)
|
||||
{
|
||||
// Don't overwrite fields / customfields with global values
|
||||
if(global_data[key] && key !== 'fields' && !(key == "customfields" && typeof data.customfields != undefined))
|
||||
if (global_data[key] && key !== 'fields' && (key !== "customfields" || !Object.keys(data.customfields).length))
|
||||
{
|
||||
data[key] = {...data[key], ...global_data[key]};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user