Skip to content

Commit

Permalink
Merge pull request #782 from nextcloud/fix/775
Browse files Browse the repository at this point in the history
fix: select all only selects filtered list
  • Loading branch information
juliusknorr authored Jan 19, 2024
2 parents 5248beb + 41661f9 commit 8650888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/components/ncTable/sections/CustomTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export default {
selectAllRows(value) {
this.selectedRows = []
if (value) {
this.rows.forEach(item => { this.selectedRows.push(item.id) })
this.getSearchedAndFilteredRows.forEach(item => { this.selectedRows.push(item.id) })
}
this.$emit('update-selected-rows', this.selectedRows)
},
Expand Down

0 comments on commit 8650888

Please sign in to comment.