Correction bug ajout dynamique de champs à afficher
This commit is contained in:
parent
9a598901ca
commit
260c3d8499
@ -136,6 +136,7 @@ export class FreeDatas2HTML
|
||||
this._fields2Rend=fields;
|
||||
else
|
||||
{
|
||||
this._fields2Rend=[];
|
||||
for(let field of fields)
|
||||
{
|
||||
if(! this.checkFieldExist(field))
|
||||
@ -224,6 +225,8 @@ export class FreeDatas2HTML
|
||||
throw new Error(errors.converterRefreshFail);
|
||||
else
|
||||
{
|
||||
//console.log(this._fields2Rend);
|
||||
|
||||
if(this._fields2Rend.length === 0)
|
||||
this.datasRender.fields=this._fields;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user