mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +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
bf21bbb4a7
commit
de65b96c28
@ -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