Only extract parameters of non n
This commit is contained in:
1 parent
749794a5f8
commit
ab6490622a
1 file changed
+3
-1
@@ -224,7 +224,9 @@ export class ForeignkeyTypeComponent extends FieldType<FieldTypeConfig> implemen
|
||||
|
||||
result = result.concat();
|
||||
} else if (typeof(obj[k]) == "object") {
|
||||
result = result.concat(this.extractParameters(obj[k]));
|
||||
if (obj[k]) {
|
||||
result = result.concat(this.extractParameters(obj[k]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user