Skip to content

Commit

Permalink
Merge branch 'main' into fix/grid
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustav-Eikaas authored Apr 30, 2024
2 parents b758b38 + 7e61bac commit 115ebf9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/filter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@equinor/workspace-filter",
"version": "4.0.1",
"version": "4.0.2",
"type": "module",
"sideEffects": false,
"license": "MIT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const FilterGroupPopoverMenu = ({
const handleInput = (e) => setSearchText(e.target.value.toString().toLowerCase());

const getValuesMatchingSearchText = () =>
values.filter((s) => !searchText || s.value?.toString().toLowerCase().startsWith(searchText));
values.filter((s) => !searchText || s.value?.toString().toLowerCase().includes(searchText));

/**
* Sets the filter state to the values matching search and closes popover
Expand Down

0 comments on commit 115ebf9

Please sign in to comment.