Adjust rows per page
parent
3858ef2299
commit
864b838b69
|
|
@ -38,7 +38,7 @@ export class ContributorYearlyReportComponent implements OnInit {
|
||||||
|
|
||||||
|
|
||||||
public rowsFirstPage: number = 28;
|
public rowsFirstPage: number = 28;
|
||||||
public rowsPerPage: number = 46;
|
public rowsPerPage: number = 45;
|
||||||
public get fillerRows(): number[] {
|
public get fillerRows(): number[] {
|
||||||
const rowsToFillPage = this.rowsFirstPage + ((this.pages - 2) * this.rowsPerPage);
|
const rowsToFillPage = this.rowsFirstPage + ((this.pages - 2) * this.rowsPerPage);
|
||||||
const rowsNeeded = rowsToFillPage - this.transactions.length;
|
const rowsNeeded = rowsToFillPage - this.transactions.length;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue