diff --git a/src/shared/components/ncTable/sections/CustomTable.vue b/src/shared/components/ncTable/sections/CustomTable.vue index 70cb28d8a..c64f4ad55 100644 --- a/src/shared/components/ncTable/sections/CustomTable.vue +++ b/src/shared/components/ncTable/sections/CustomTable.vue @@ -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) },