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;
|
this._fields2Rend=fields;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
this._fields2Rend=[];
|
||||||
for(let field of fields)
|
for(let field of fields)
|
||||||
{
|
{
|
||||||
if(! this.checkFieldExist(field))
|
if(! this.checkFieldExist(field))
|
||||||
@ -224,6 +225,8 @@ export class FreeDatas2HTML
|
|||||||
throw new Error(errors.converterRefreshFail);
|
throw new Error(errors.converterRefreshFail);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
//console.log(this._fields2Rend);
|
||||||
|
|
||||||
if(this._fields2Rend.length === 0)
|
if(this._fields2Rend.length === 0)
|
||||||
this.datasRender.fields=this._fields;
|
this.datasRender.fields=this._fields;
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user