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
|
#fileInput
|
||||||
name="template"
|
name="template"
|
||||||
/>
|
/>
|
||||||
<input type="submit" value="Export" />
|
<input type="submit" class="btn btn-secondary" value="Export" />
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -133,7 +133,7 @@
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
@for (pgn of [].constructor(totalPages); track i; let i = $index) {
|
@for (pgn of [].constructor(totalPages); track i; let i = $index) {
|
||||||
@if (i != page) {
|
@if (i+1 != page) {
|
||||||
<li>
|
<li>
|
||||||
<button
|
<button
|
||||||
(click)="setPage(i + 1)"
|
(click)="setPage(i + 1)"
|
||||||
|
|
Loading…
Reference in a new issue