Skip to content

Commit

Permalink
Software Inventory Pager showing too many pages
Browse files Browse the repository at this point in the history
  • Loading branch information
atretyak1985 committed Nov 26, 2018
1 parent 90a584b commit 131fe4d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/organization/collector/collector_list.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class CollectorListComponent implements OnInit{
private HEADER_HEIGHT: number = 310;
private FILTER_WIDTH: number = 300;
private LIST_BASE_PADDING: number = 120;
private ROWS: number = TableCache.LIST_ROWS;
private ROWS: number = TableCache.PAGE_ROWS;

private response: CollectorListResponse;
private items: Array<CollectorListItem>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ <h1 class="panel-title">
<td class="table-cell" [ngStyle]="{'width': getColumnWidth('num_devices_remoteallowed')}">{{ rowData.num_devices_remoteallowed }}</td>
<td class="table-cell" [ngStyle]="{'width': getColumnWidth('last_activity_at')}">{{ rowData.last_activity_at*1000 | moment:'MMM Do YYYY HH:mm' }}</td>
<td *ngIf="rowData.last_logon_time != null" class="table-cell" [ngStyle]="{'width': getColumnWidth('last_logon_time')}">{{ rowData.last_logon_time*1000 | moment:'MMM Do YYYY HH:mm' }}</td>
<td *ngIf="rowData.last_logon_time == null" class="table-cell" [ngStyle]="{'width': getColumnWidth('num_devices')}"></td>
<td *ngIf="rowData.last_logon_time == null" class="table-cell" [ngStyle]="{'width': getColumnWidth('last_logon_time')}"></td>
</tr>
</ng-template>
</p-table>
Expand Down
2 changes: 1 addition & 1 deletion src/organization/software/software_list.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class SoftwareListComponent implements OnInit{
private HEADER_HEIGHT: number = 310;
private FILTER_WIDTH: number = 300;
private LIST_BASE_PADDING: number = 120;
private ROWS: number = TableCache.LIST_ROWS;
private ROWS: number = TableCache.PAGE_ROWS;

private response: SoftwareListResponse;
private items: Array<SoftwareListItem>;
Expand Down

0 comments on commit 131fe4d

Please sign in to comment.