fix: unable to opt out of nested client nav (#1940)

This commit is contained in:
Marvin Hagemeister
2023-10-15 08:41:13 +02:00
committed by GitHub
parent fe1e622cf1
commit 0192316785
9 changed files with 347 additions and 151 deletions
+1 -1
View File
@@ -205,7 +205,7 @@ options.vnode = (vnode) => {
}
if (typeof props[CLIENT_NAV_ATTR] === "boolean") {
props[CLIENT_NAV_ATTR] = props[CLIENT_NAV_ATTR] ? "true" : null;
props[CLIENT_NAV_ATTR] = props[CLIENT_NAV_ATTR] ? "true" : "false";
}
} else if (
current && typeof vnode.type === "function" && vnode.type !== Fragment &&