mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-10-05 09:32:08 +02:00
fix one more case (empty AB and PM lists) after performance fix for custom fields
This commit is contained in:
parent
37ebc4b8e3
commit
ffca28dd1d
@ -454,7 +454,7 @@ export class et2_customfields_list extends et2_valueWidget implements et2_IDetac
|
|||||||
for(let key in data)
|
for(let key in data)
|
||||||
{
|
{
|
||||||
// Don't overwrite fields / customfields with global values
|
// Don't overwrite fields / customfields with global values
|
||||||
if (global_data[key] && key !== 'fields' && (key !== "customfields" || !Object.keys(data.customfields).length))
|
if (global_data[key] && key !== 'fields' && (key !== "customfields" || !data.customfields || !Object.keys(data.customfields).length))
|
||||||
{
|
{
|
||||||
data[key] = {...data[key], ...global_data[key]};
|
data[key] = {...data[key], ...global_data[key]};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user