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
Mathieu Duckerts-Antoine
parent
13c3178760
commit
a1d435c5a5
@@ -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