[REF] component: yet another simplification for t-widget

This commit is contained in:
Géry Debongnie
2019-05-16 22:56:10 +02:00
parent 25b633cc63
commit 5682577870
3 changed files with 41 additions and 73 deletions
+1 -2
View File
@@ -459,8 +459,7 @@ export class Component<
_mount(vnode: VNode, elm: HTMLElement): VNode {
this.__owl__.vnode = patch(elm, vnode);
if (
this.__owl__.parent &&
this.__owl__.parent.__owl__.isMounted &&
this.__owl__.parent!.__owl__.isMounted &&
!this.__owl__.isMounted
) {
this._callMounted();