Fix pages off-by-one

This commit is contained in:
Daniel Ponte 2024-12-03 08:54:33 -05:00
parent 518566db62
commit df9ba54ead
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@
#fileInput
name="template"
/>
<input type="submit" value="Export" />
<input type="submit" class="btn btn-secondary" value="Export" />
</div>
</form>
</div>

View file

@ -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)"