added default maxDisplayCount for cor-table to fix pagination NaN error

This commit is contained in:
alecmerdler 2017-05-24 21:43:25 -07:00
parent 6ed5235dfd
commit e53ade6bd4

View file

@ -17,7 +17,7 @@ export class CorTableComponent implements OnChanges {
@Input('@') public tableItemTitle: string;
@Input('<') public filterFields: string[];
@Input('@') public compact: string;
@Input('<') public maxDisplayCount: number;
@Input('<') public maxDisplayCount: number = 10;
private columns: CorTableColumn[];
private orderedData: any;
private options: any;