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:
committed by
Facebook GitHub Bot
parent
8397b2bab8
commit
b55d730dd7
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user