Skip to content

Commit

Permalink
SVYX-993: TreeView error using the search
Browse files Browse the repository at this point in the history
  • Loading branch information
paronne committed Dec 31, 2024
1 parent 1bc9f80 commit c7c228b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions projects/servoyextracomponents/src/treeview/treeview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,7 @@ export class ServoyExtraTreeview extends ServoyBaseComponent<HTMLDivElement> {
const filterTextLC = this.filterText.toLowerCase();
const processedData = this.angularGrid.store.getProcessedData();
processedData.forEach(data => {
if (!data.treeColumn.text) return;
const nodeTextLC = data.treeColumn.text.toLowerCase();
if(nodeTextLC.indexOf(filterTextLC) !== -1) {
if(this.filterMatchedNodes.indexOf(data.id) === -1) {
Expand Down

0 comments on commit c7c228b

Please sign in to comment.