mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 18:33:39 +01:00
Api: Fix customfield with no data sent breaks entire customfield tab
This commit is contained in:
parent
d69fd2a4cc
commit
2aafc34140
@ -360,7 +360,7 @@ export class et2_customfields_list extends et2_valueWidget implements et2_IDetac
|
||||
// Add in settings that are objects
|
||||
|
||||
// Customized settings for this widget (unlikely)
|
||||
const data = this.getArrayMgr("modifications").getEntry(this.id);
|
||||
const data = this.getArrayMgr("modifications").getEntry(this.id) ?? {};
|
||||
// Check for global settings
|
||||
const global_data = this.getArrayMgr("modifications").getRoot().getEntry('~custom_fields~', true);
|
||||
if(global_data)
|
||||
|
Loading…
Reference in New Issue
Block a user