mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-29 09:32:43 +00:00
Temporarily disable flattening of objects
This commit is contained in:
@@ -190,7 +190,7 @@ export const renderHtml: Hook<[any, Mounter], [string, string, string]> = {
|
||||
: activeKeys)
|
||||
.filter(k => filterKey !== k)
|
||||
.filter(k => activeFields[k].enabled(path))
|
||||
if (node.hook(canFlatten, path)) {
|
||||
if (false /* node.hook(canFlatten, path) */) {
|
||||
const newValue = value[visibleKeys[0]] ?? {}
|
||||
body = activeFields[visibleKeys[0]].hook(this, path.push(visibleKeys[0]), newValue, mounter)[2]
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user