Skip to content

Commit 0ee9b20

Browse files
authored
Fix column identification after filtering (#506)
1 parent f09471d commit 0ee9b20

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ List general components of the application that this PR will affect:
2323

2424
## Additional Notes
2525

26-
This is optional, feel free to follow your hearth and write here :)
26+
This is optional, feel free to follow your heart and write here :)

src/utils/data-manager.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,9 @@ export default class DataManager {
217217
}
218218

219219
changeFilterValue(columnId, value) {
220-
this.columns[columnId].tableData.filterValue = value;
220+
const column = this.columns.find((c) => c.tableData.id === columnId);
221+
222+
column.tableData.filterValue = value;
221223
this.filtered = false;
222224
}
223225

0 commit comments

Comments
 (0)