This commit is contained in:
Adria Navarro 2024-03-21 11:43:50 +01:00
parent 8d43bc814e
commit 1a8510358b
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ export function getJsHelperList() {
helpers = {}
for (let collection of Object.values(externalCollections)) {
for (let [key, func] of Object.entries<any>(collection)) {
for (let [key, func] of Object.entries<any>(collection())) {
// Handlebars injects the hbs options to the helpers by default. We are adding an empty {} as a last parameter to simulate it
helpers[key] = (...props: any) => func(...props, {})
}