We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2942e03 commit 5bb2aebCopy full SHA for 5bb2aeb
ui/src/components/table/QTable.js
@@ -164,7 +164,12 @@ export default Vue.extend({
164
const rowsNumber = rows.length
165
166
if (rowsPerPage !== 0) {
167
- rows = rows.slice(this.firstRowIndex, this.lastRowIndex)
+ if (this.firstRowIndex === 0 && this.data !== rows) {
168
+ rows.length = this.lastRowIndex
169
+ }
170
+ else {
171
+ rows = rows.slice(this.firstRowIndex, this.lastRowIndex)
172
173
}
174
175
return { rowsNumber, rows }
0 commit comments