0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-09 20:02:54 +01:00

Ensure typeObject exists

Dieser Commit ist enthalten in:
Angus McLeod 2020-04-29 15:24:33 +10:00
Ursprung ef611f3b19
Commit 489e615773

Datei anzeigen

@ -61,7 +61,7 @@ function listProperties(type, opts={}) {
Object.keys(types).forEach(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]);
}