Skip to content

Commit

Permalink
grid-protocol version bump and super-search minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
elsoazemelet committed Jan 22, 2025
1 parent bbef533 commit 8f3635b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
},
"type": "module",
"dependencies": {
"@intechstudio/grid-protocol": "1.20241030.1609",
"@intechstudio/grid-protocol": "1.20250122.1457",
"@intechstudio/grid-uikit": "1.20241126.1622",
"@melt-ui/svelte": "^0.83.0",
"@toast-ui/editor": "^3.2.2",
Expand Down
6 changes: 5 additions & 1 deletion src/routes/Filter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,11 @@ export function filterConfigs(configs: Config[], filter: FilterValue): Config[]
// Check if any term matches any searchable field
return filter.every((term) => {
if (term.value.startsWith("$")) {
const blockNames = shorts.map((e) => grid.ActionBlock.shortToDisplayName(e));
const blockNames = shorts.map((e) =>
grid.ActionBlock.shortToDisplayName(e)
?.replaceAll(" ", "")
.replaceAll("$", "And")
);
return blockNames.some((e) =>
matchesTerm(e, {
value: term.value.slice(1, term.value.length),
Expand Down

0 comments on commit 8f3635b

Please sign in to comment.