Skip to content

Commit

Permalink
Update Filter.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
elsoazemelet authored Jan 22, 2025
1 parent 1d2c8ac commit bbef533
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/Filter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ export function filterConfigs(configs: Config[], filter: FilterValue): Config[]
return filter.every((term) => {
if (term.value.startsWith("$")) {
const blockNames = shorts.map((e) => grid.ActionBlock.shortToDisplayName(e));
return blockNames.some((short) =>
matchesTerm(short, {
return blockNames.some((e) =>
matchesTerm(e, {
value: term.value.slice(1, term.value.length),
caseMatch: false,
wholeMatch: false
Expand Down

0 comments on commit bbef533

Please sign in to comment.