Describe the bug
I have the following partial registered
var partialSource = "{{#if ClientCode}}IT EXISTS{{else}}IT IS NOT HERE{{/if}}";
Handlebars.RegisterTemplate("LinkToCompany", partialSource);
And I pass in my entity
with this template
{{> LinkToCompany Entity}}
Expected behavior:
I expect that to render as IT EXISTS, since the entity contains a ClientCode property.
Describe the bug
I have the following partial registered
And I pass in my entity
with this template
Expected behavior:
I expect that to render as
IT EXISTS, since the entity contains aClientCodeproperty.