Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/tender-camels-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@itwin/changed-elements-react": patch
---

bug fix- Turning off all properties on Advanced Filtering dialog hides elements incorrectly
Original file line number Diff line number Diff line change
Expand Up @@ -1011,6 +1011,11 @@ export class ChangedElementsListComponent extends Component<ChangedElementsListP
return true;
}

// keep the entry if user has typeOfChange filtering other than properties checked and matches
if (((entry.type & ~TypeOfChange.Property) & (options.wantedTypeOfChange)) !== 0) {
return true;
}

// Only thing left to do is to check that the entry's properties are visible in filters
return this._anyEntryPropertiesVisible(entry, options);
};
Expand Down
Loading