mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[FIX] compiler: call dynamic templates with correct this
This commit is contained in:
committed by
Aaron Bohy
parent
2601a176c4
commit
0bbea351a6
@@ -304,7 +304,7 @@ exports[`t-call (template calling) dynamic t-call 3`] = `
|
||||
|
||||
return function template(ctx, node, key = \\"\\") {
|
||||
const template2 = (ctx['template']);
|
||||
let b2 = call(template2, ctx, node, key + \`__1\`);
|
||||
let b2 = call(this, template2, ctx, node, key + \`__1\`);
|
||||
return block1([], [b2]);
|
||||
}
|
||||
}"
|
||||
|
||||
Reference in New Issue
Block a user