Skip to content

Commit

Permalink
remove paginator in add or remove project resquest (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
FanchTheSystem committed Nov 23, 2020
1 parent 3efa28e commit c000979
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions manager2/src/app/admin/projects/projects.component.html
Expand Up @@ -16,12 +16,7 @@ <h3>{{requests_number}} request(s) waiting </h3>
<h3>Add user</h3>
</div>
<div class="card-body">
<p-table #dta [value]="add_requests"
[paginator]="true"
[rows]="10"
[showCurrentPageReport]="true"
[rowsPerPageOptions]="[10,25,50]"
>
<p-table #dta [value]="add_requests">
<ng-template pTemplate="header">
<tr>
<th>Project</th>
Expand All @@ -48,12 +43,7 @@ <h3>Add user</h3>
<h3>Remove user</h3>
</div>
<div class="card-body">
<p-table #dtd [value]="remove_requests"
[paginator]="true"
[rows]="10"
[showCurrentPageReport]="true"
[rowsPerPageOptions]="[10,25,50]"
>
<p-table #dtd [value]="remove_requests">
<ng-template pTemplate="header">
<tr>
<th>Project</th>
Expand Down Expand Up @@ -85,8 +75,8 @@ <h3>All projects</h3>
<p-table #dtp [value]="projects"
[paginator]="true"
[rows]="10"
[showCurrentPageReport]="true"
[showCurrentPageReport]="true"

[rowsPerPageOptions]="[10,25,50]"
[globalFilterFields]="['id','owner']"
[filterDelay]="0"
Expand Down

0 comments on commit c000979

Please sign in to comment.