Skip to content

Commit

Permalink
Merge pull request #189 from severinbeauvais/master
Browse files Browse the repository at this point in the history
PRC-404: remove pagination
  • Loading branch information
marklise authored Aug 1, 2018
2 parents 3e26228 + 82d1042 commit ed1a769
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h2>Crown Lands Applications in British Columbia</h2>
</thead>

<tbody class="application-table__content">
<ng-template ngFor let-item [ngForOf]="applications | orderBy: {property: column, direction: direction} | paginate: config">
<ng-template ngFor let-item [ngForOf]="applications | orderBy: {property: column, direction: direction}">
<tr *ngIf="showThisApp(item)">
<td class="accordion__collapse-item p-0" colspan="6">
<div class="accordion__collapse-header" role="tab">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Component, OnInit, OnDestroy } from '@angular/core';
import { Router, ActivatedRoute, ParamMap, Params } from '@angular/router';
import { Location } from '@angular/common';
import { PaginationInstance } from 'ngx-pagination';
import { Subject } from 'rxjs/Subject';
import 'rxjs/add/operator/takeUntil';
import * as moment from 'moment';
Expand All @@ -25,11 +24,6 @@ export class ApplicationListComponent implements OnInit, OnDestroy {
public applications: Array<Application> = [];
public column: string = null;
public direction = 0;
public config: PaginationInstance = {
id: 'custom',
itemsPerPage: 25,
currentPage: 1
};
private ngUnsubscribe: Subject<boolean> = new Subject<boolean>();

constructor(
Expand Down

0 comments on commit ed1a769

Please sign in to comment.