Fix pages off-by-one
This commit is contained in:
parent
518566db62
commit
df9ba54ead
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
|||
#fileInput
|
||||
name="template"
|
||||
/>
|
||||
<input type="submit" value="Export" />
|
||||
<input type="submit" class="btn btn-secondary" value="Export" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
@ -133,7 +133,7 @@
|
|||
</li>
|
||||
|
||||
@for (pgn of [].constructor(totalPages); track i; let i = $index) {
|
||||
@if (i != page) {
|
||||
@if (i+1 != page) {
|
||||
<li>
|
||||
<button
|
||||
(click)="setPage(i + 1)"
|
||||
|
|
Loading…
Reference in a new issue