From 2a8f5e95d2101e0a37fd21047246c44c320d8ea0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Debongnie?= Date: Wed, 3 Nov 2021 13:45:14 +0100 Subject: [PATCH] [IMP] update owl to v1.4.8 --- owl.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/owl.js b/owl.js index 29bac481..516e706d 100644 --- a/owl.js +++ b/owl.js @@ -3702,8 +3702,9 @@ See https://github.com/odoo/owl/blob/master/doc/reference/config.md#mode for mor component.__patch(target, fiber.vnode); } else { - if (fiber.shouldPatch) { - component.__patch(component.__owl__.vnode, fiber.vnode); + const vnode = component.__owl__.vnode; + if (fiber.shouldPatch && vnode) { + component.__patch(vnode, fiber.vnode); // When updating a Component's props (in directive), // the component has a pvnode AND should be patched. // However, its pvnode.elm may have changed if it is a High Order Component @@ -5545,9 +5546,9 @@ See https://github.com/odoo/owl/blob/master/doc/reference/config.md#mode for mor Object.defineProperty(exports, '__esModule', { value: true }); - __info__.version = '1.4.7'; - __info__.date = '2021-10-19T14:47:56.530Z'; - __info__.hash = '4e3b7c7'; + __info__.version = '1.4.8'; + __info__.date = '2021-11-03T12:45:06.330Z'; + __info__.hash = '307b936'; __info__.url = 'https://github.com/odoo/owl';