backend-plus 2.1.5 → 2.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -563,7 +563,7 @@ function agregar_json(div, o, ubicaciones=agregar_json_default_ubicaciones){
563
563
  if(o[a]!=null){
564
564
  var row = table.insertRow(-1);
565
565
  var cellName = row.insertCell(-1);
566
- agregar_class_textInDiv(cellName, 'row-num', Array.isArray(o[a])?(isNaN(a)?a:Number(a)+1):a);
566
+ agregar_class_textInDiv(cellName, 'row-num', Array.isArray(o) && !isNaN(a) ? Number(a)+1 : a);
567
567
  agregar_json(row, o[a], function(div, _o, a){
568
568
  // @ts-ignore sé que es Row
569
569
  /** @type {HTMLTableRowElement} */