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 #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>

View file

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