Skip to content

Commit

Permalink
Fixed pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
isc-lperezra committed Sep 9, 2024
1 parent 19815f0 commit 6beb020
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion encoder-ui/src/app/codelist/codelist.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<tbody>
@for (option of codeOptions; track option; let i = $index) {
<tr (click)="saveCodification(option.CodeId);">
<th scope="row">{{((page - 1)*10) + i + 1}}</th>
<th scope="row">{{((page - 1)*pageSize) + i + 1}}</th>
<td>
{{ option.CodeId }}
</td>
Expand Down
2 changes: 1 addition & 1 deletion encoder-ui/src/app/diagnosis/diagnosis.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<tbody>
@for (request of codeRequests; track request; let i = $index) {
<tr>
<td scope="row">{{ ((page - 1)*10) + i + 1 }}</td>
<td scope="row">{{ ((page - 1)*pageSize) + i + 1 }}</td>
<td>
<a href="https://18.134.160.8:8443/csp/healthshare/encoder/EnsPortal.VisualTrace.zen?SESSIONID={{ request.MessageId }}" target="_blank">{{ request.Description }}</a>
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<tbody>
@for (diagnostic of diagnosticsPage; track diagnostic; let i = $index) {
<tr>
<th scope="row">{{((page - 1)*10) + i + 1}}</th>
<th scope="row">{{((page - 1)*pageSize) + i + 1}}</th>
<td>
{{ diagnostic.code }}
</td>
Expand Down

0 comments on commit 6beb020

Please sign in to comment.