We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3d75d9 commit bd9d11cCopy full SHA for bd9d11c
src/lib/components/common/jschema/schema_management.js
@@ -394,7 +394,7 @@ function removeEmptyObjectsAndArrays(obj) {
394
Object.keys(obj).forEach(key => {
395
if (obj[key] && typeof obj[key] === 'object') {
396
// Next line would enable removing empty objects and arrays from nested objects
397
- // removeEmptyObjectsAndArrays(obj[key]);
+ removeEmptyObjectsAndArrays(obj[key]);
398
if (Object.keys(obj[key]).length === 0) delete obj[key];
399
}
400
});
0 commit comments