Skip to content

Commit

Permalink
fix: page buttons missing from page 99
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Nov 16, 2023
1 parent a5feec2 commit 4fefd2a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Data/ImportExport.js
Original file line number Diff line number Diff line change
Expand Up @@ -507,8 +507,7 @@ class DataImportExport extends CoreBase {
* @returns {void}
*/
createInitialPageButtons(pageCount) {
for (let page = 0; page < pageCount; page++) {
// TODO - is this off by one?
for (let page = 1; page <= pageCount; page++) {
for (const definition of default_nav_buttons_definitions) {
const location = {
...definition.location,
Expand Down

0 comments on commit 4fefd2a

Please sign in to comment.