Skip to content

Commit

Permalink
Fixed warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustavo.Figueiredo authored and Gustavo.Figueiredo committed Feb 16, 2023
1 parent 3397a7a commit adf2c50
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -268,14 +268,16 @@ <h2 class="ui header">
totalColumns = 5;
pdfColumnStyles[0] = { halign: 'center' };
columnDefinitions.forEach(addColumn);
for ( i = 5; i <= totalColumns; i++ ) {
let i = 5;
while (totalColumns > i) {
pdfColumnStyles[i] = { halign: 'right' };
i++;
}
}

//Add value columns according with selected parameters
function addColumn(column) {
for ( i = 0; i < column.columns.length; i++ ) {
for ( let i = 0; i < column.columns.length; i++ ) {
if ( column.columns[i].field.substring(0,1) == "B" )
column.columns[i].accessorDownload = valueConvert;
else
Expand Down

0 comments on commit adf2c50

Please sign in to comment.