From 2cf87ea02f103f2a0c88c5b9d1c0b49b791110d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Debongnie?= Date: Wed, 3 Nov 2021 12:48:41 +0000 Subject: [PATCH] [IMP] web: update owl to 1.4.8 Release notes: https://github.com/odoo/owl/releases/tag/v1.4.8 closes odoo/odoo#79337 X-original-commit: bfbd0d956f3a7a22a22dfb4c466b7a6f0a916a7d Signed-off-by: Aaron Bohy (aab) --- addons/web/static/lib/owl/owl.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/addons/web/static/lib/owl/owl.js b/addons/web/static/lib/owl/owl.js index 70abf2db8a5..83187d40a84 100644 --- a/addons/web/static/lib/owl/owl.js +++ b/addons/web/static/lib/owl/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:49:16.603Z'; - __info__.hash = '4e3b7c7'; + __info__.version = '1.4.8'; + __info__.date = '2021-11-03T12:45:36.455Z'; + __info__.hash = '307b936'; __info__.url = 'https://github.com/odoo/owl';