1
0
Fork 0
mirror of synced 2024-07-07 15:25:52 +12:00
This commit is contained in:
Adria Navarro 2024-01-31 09:59:59 +01:00
parent d1712bda52
commit 70d49bbd6b
2 changed files with 2 additions and 2 deletions

View file

@ -50,7 +50,7 @@
(!search ||
helper.label.match(searchRgx) ||
helper.description.match(searchRgx)) &&
(mode.name !== "javascript" || !helper.requiresBlock)
(mode.name !== "javascript" || helper.allowsJs)
)
})

View file

@ -11,7 +11,7 @@ export function handlebarsCompletions() {
label: helperName,
displayText: helperName,
description: helperConfig.description,
requiresBlock: helperConfig.requiresBlock,
allowsJs: !helperConfig.requiresBlock,
}))
)
}