File tree 2 files changed +15
-2
lines changed
addons/html_builder/static/src/core
2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 1
1
import { Component } from "@odoo/owl" ;
2
2
3
+ export class NestHack extends Component {
4
+ static template = "html_builder.NestHack" ;
5
+ static props = {
6
+ slots : Object ,
7
+ } ;
8
+ }
9
+
3
10
export class DelayHack extends Component {
4
11
static template = "html_builder.DelayHack" ;
5
12
static props = {
6
13
slots : Object ,
7
14
count : Number ,
8
15
} ;
9
- static components = { DelayHack } ;
16
+ static components = { DelayHack, NestHack } ;
10
17
}
Original file line number Diff line number Diff line change 3
3
4
4
<t t-name =" html_builder.DelayHack" >
5
5
<t t-if =" props.count" >
6
- <DelayHack count =" props.count - 1" slots =" props.slots" />
6
+ <NestHack >
7
+ <DelayHack count =" props.count - 1" slots =" props.slots" />
8
+ </NestHack >
7
9
</t >
8
10
<t t-else =" " >
9
11
<t t-slot =" default" />
10
12
</t >
11
13
</t >
12
14
15
+ <t t-name =" html_builder.NestHack" >
16
+ <t t-slot =" default" />
17
+ </t >
18
+
13
19
</templates >
You can’t perform that action at this time.
0 commit comments