Fix with operator in no @data mode
This commit is contained in:
@@ -202,7 +202,7 @@ function registerDefaultHelpers(instance) {
|
||||
|
||||
return fn(context, {
|
||||
data: data,
|
||||
blockParams: Utils.blockParams([context], [data.contextPath])
|
||||
blockParams: Utils.blockParams([context], [data && data.contextPath])
|
||||
});
|
||||
} else {
|
||||
return options.inverse(this);
|
||||
|
||||
Reference in New Issue
Block a user