diff options
author | bobzel <zzzman@gmail.com> | 2020-08-04 11:21:44 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-08-04 11:21:44 -0400 |
commit | 4931f089160d6de5f34d8956c6106b6be1ec7d6f (patch) | |
tree | ce7fa56415f77132871260abb2d2832d89cae5c2 /src/client/views/MainView.tsx | |
parent | 58a322592f13bb37c369957b0141f53469d0d100 (diff) |
fixed click behavior on filter icon in search bar.
Diffstat (limited to 'src/client/views/MainView.tsx')
-rw-r--r-- | src/client/views/MainView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx index 923036eae..c6cebc9ab 100644 --- a/src/client/views/MainView.tsx +++ b/src/client/views/MainView.tsx @@ -195,7 +195,7 @@ export class MainView extends React.Component { if (targets && targets.length && SearchBox.Instance._searchbarOpen) { let check = false; targets.forEach((thing) => { - if (thing.className.toString() === "collectionSchemaView-table" || thing.className.toString() === "beta" || thing.className.toString() === "collectionSchemaView-menuOptions-wrapper") { + if (thing.className.toString() === "collectionSchemaView-table" || (thing as any)?.dataset["icon"] === "filter" || thing.className.toString() === "beta" || thing.className.toString() === "collectionSchemaView-menuOptions-wrapper") { check = true; } }); |