Integrate filter exceptions with DataTable

Summary: See previous diff for context

Reviewed By: LukeDefeo

Differential Revision: D47472005

fbshipit-source-id: 6e7d8873d275f826c38fab16c72e1621fd2784e1
This commit is contained in:
Andrey Goncharov
2023-07-18 05:25:59 -07:00
committed by Facebook GitHub Bot
parent 8397b2bab8
commit b55d730dd7
3 changed files with 27 additions and 2 deletions

View File

@@ -772,8 +772,8 @@ export class DataSourceView<T, KeyType> {
* They allow us to add singular items to table views.
* Extremely useful for Bloks Debugger where we have to jump between multiple types of rows that could be filtered out
*/
public setFilterExpections(ids: KeyType[]) {
this.filterExceptions = new Set(ids);
public setFilterExpections(ids: KeyType[] | undefined) {
this.filterExceptions = ids ? new Set(ids) : undefined;
this.rebuild();
}