Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/PaginateLinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ function getLimitedLinks (vm, h) {
// If the link is a number,
// then incremented by 1 (since it's 0 based).
// otherwise, do nothing (so, it's a symbol).
const text = Number.isInteger(link) ? link + 1 : link
const text = typeof link === 'number' && Math.floor(link) === link ? link + 1 : link
return h('li', { class: liClasses }, [h('a', data, text)])
})
}
Expand Down