Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 17:30:29 +01:00
Ensure typeObject exists
Dieser Commit ist enthalten in:
Ursprung
ef611f3b19
Commit
489e615773
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
|
@ -61,7 +61,7 @@ function listProperties(type, opts={}) {
|
||||||
Object.keys(types).forEach(type => {
|
Object.keys(types).forEach(type => {
|
||||||
typeProperties = typeProperties.concat(Object.keys(types[type]));
|
typeProperties = typeProperties.concat(Object.keys(types[type]));
|
||||||
});
|
});
|
||||||
} else if (opts.objectType) {
|
} else if (opts.objectType && types[opts.objectType]) {
|
||||||
typeProperties = Object.keys(types[opts.objectType]);
|
typeProperties = Object.keys(types[opts.objectType]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Laden …
In neuem Issue referenzieren