mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-24 23:56:51 +00:00
@@ -440,7 +440,7 @@ function generateObject(data, struct, options) {
|
||||
$body.append($field);
|
||||
}
|
||||
}
|
||||
if (!struct.collapse) {
|
||||
if (struct.card === false) {
|
||||
// Note: JSON.parse(JSON.stringify(out)) can remove undefined values in the out object.
|
||||
if (Object.keys(JSON.parse(JSON.stringify(out))).length === 0) {
|
||||
out = undefined
|
||||
|
||||
Reference in New Issue
Block a user