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
@@ -2388,7 +2388,7 @@ exports[`slots t-slot within dynamic t-call 4`] = `
|
||||
|
||||
function slot2(ctx, node, key) {
|
||||
const template4 = (ctx['tcallTemplate']);
|
||||
return call(template4, ctx, node, key + \`__3\`);
|
||||
return call(this, template4, ctx, node, key + \`__3\`);
|
||||
}
|
||||
|
||||
return function template(ctx, node, key = \\"\\") {
|
||||
|
||||
Reference in New Issue
Block a user