mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
+1
-1
@@ -1091,7 +1091,7 @@ const widgetDirective: Directive = {
|
||||
|
||||
ctx.addLine(`extra.promises.push(def${defID});`);
|
||||
|
||||
if (node.getAttribute("t-if") || node.getAttribute("t-else")) {
|
||||
if (node.hasAttribute("t-if") || node.hasAttribute("t-else")) {
|
||||
ctx.closeIf();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user