mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[FIX] portal: do not crash in dev mode
Before this commit, the props validation would fail in dev mode because it did not expect a slot prop.
This commit is contained in:
committed by
Aaron Bohy
parent
aad6b806ba
commit
3c98ef8cb1
@@ -57,6 +57,7 @@ export class Portal extends Component {
|
||||
target: {
|
||||
type: String,
|
||||
},
|
||||
slots: true,
|
||||
};
|
||||
|
||||
constructor(props: any, env: any, node: ComponentNode) {
|
||||
|
||||
Reference in New Issue
Block a user