Fix customfields were not shown if customfield taboption was not set

This commit is contained in:
nathan 2024-06-24 08:37:40 -06:00
parent 5dfc16d079
commit 27dc77feb3

View File

@ -218,7 +218,7 @@ export class et2_customfields_list extends et2_valueWidget implements et2_IDetac
{
this.options.fields[field_name] = false;
}
else if (default_tab ? this.options.customfields[field_name].tab : this.options.customfields[field_name].tab !== this.options.tab)
else if(default_tab ? this.options.customfields[field_name].tab : this.options.customfields[field_name].tab !== this.options.tab && this.options.tab)
{
this.options.fields[field_name] = false;
}