WIP allow to place custom-fields in tabs: fix (excluded) cfs in regular template always show all exclude cfs, not just the given one

This commit is contained in:
ralf 2024-03-25 18:00:22 +02:00
parent c8e968ba1e
commit e3b3078066

View File

@ -237,7 +237,7 @@ export class et2_customfields_list extends et2_valueWidget implements et2_IDetac
this.options.fields[field_name] = default_tab[1] !== '-private'; this.options.fields[field_name] = default_tab[1] !== '-private';
} }
} }
else if (this.options.customfields[field_name].tab === this.options.tab) else if (this.options.tab && this.options.customfields[field_name].tab === this.options.tab)
{ {
this.options.fields[field_name] = true; this.options.fields[field_name] = true;
} }