mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 15:33:23 +01:00
* All apps: fix private custom-fields were shown independent of entry type-filter, if user was allowed to see the field
This commit is contained in:
parent
4fc96ee8b7
commit
f58e2a0ace
@ -214,6 +214,9 @@ export class et2_customfields_list extends et2_valueWidget implements et2_IDetac
|
||||
{
|
||||
for(let field_name in this.options.customfields)
|
||||
{
|
||||
// check if we have a type-filter and field does NOT match it --> ignore / skip field
|
||||
if (this.options.type_filter && this.options.fields[field_name] !== true) continue;
|
||||
|
||||
if (exclude.indexOf(field_name) >= 0)
|
||||
{
|
||||
this.options.fields[field_name] = false;
|
||||
|
Loading…
Reference in New Issue
Block a user