From 27a1df82ac455a44965cbcaef3e3bd1765d95942 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 15 Apr 2023 19:35:51 -0300 Subject: html, test: default slots only for null, not falsey values --- src/util/html.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util') diff --git a/src/util/html.js b/src/util/html.js index 65a06440..a1d6962a 100644 --- a/src/util/html.js +++ b/src/util/html.js @@ -691,7 +691,7 @@ export class Template { return providedValue; } - if (providedValue) { + if (providedValue !== null) { return providedValue; } -- cgit 1.3.0-6-gf8a5