We're trying to put a conditional helper in our Handlebars template (if owner_id === user_id) but the helper doesn't seem to be called even though it's registered in JS.
Is there a required way of using Handlebars helpers (i.e., external files in the templates/helpers directory)? If so, how do they need to be set up (plain JS, module.export, etc) and as what type of file (.js or .handlebars)?
We're trying to put a conditional helper in our Handlebars template (if owner_id === user_id) but the helper doesn't seem to be called even though it's registered in JS.
Is there a required way of using Handlebars helpers (i.e., external files in the templates/helpers directory)? If so, how do they need to be set up (plain JS, module.export, etc) and as what type of file (.js or .handlebars)?