mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[REL] v2.1.2
# v2.1.2 - [FIX] t-out: does not crash when outputting null - [FIX] playground: fix name of playground component - [FIX] playground: use ES owl version instead of iife - [IMP] playground: give a name so it is more explicit in devtools - [REF] github page: move page to docs folder on master branch - [IMP/FIX] playground: fix and improve various things
This commit is contained in:
+3
-3
@@ -3017,7 +3017,7 @@ class LazyValue {
|
||||
* Safely outputs `value` as a block depending on the nature of `value`
|
||||
*/
|
||||
function safeOutput(value, defaultValue) {
|
||||
if (value === undefined) {
|
||||
if (value === undefined || value === null) {
|
||||
return defaultValue ? toggler("default", defaultValue) : toggler("undefined", text(""));
|
||||
}
|
||||
let safeKey;
|
||||
@@ -5920,6 +5920,6 @@ TemplateSet.prototype._compileTemplate = function _compileTemplate(name, templat
|
||||
export { App, Component, EventBus, OwlError, __info__, blockDom, loadFile, markRaw, markup, mount, onError, onMounted, onPatched, onRendered, onWillDestroy, onWillPatch, onWillRender, onWillStart, onWillUnmount, onWillUpdateProps, reactive, status, toRaw, useChildSubEnv, useComponent, useEffect, useEnv, useExternalListener, useRef, useState, useSubEnv, validate, validateType, whenReady, xml };
|
||||
|
||||
|
||||
__info__.date = '2023-04-24T13:41:41.071Z';
|
||||
__info__.hash = '53ce7ed';
|
||||
__info__.date = '2023-04-24T14:29:32.376Z';
|
||||
__info__.hash = 'f9d810a';
|
||||
__info__.url = 'https://github.com/odoo/owl';
|
||||
|
||||
Reference in New Issue
Block a user