1
0
Fork 0

Ensure that we're mapping an array

Dieser Commit ist enthalten in:
Angus McLeod 2022-12-13 15:21:56 +01:00
Ursprung 621360df58
Commit 528585db45

Datei anzeigen

@ -48,7 +48,7 @@ export default Component.extend({
@discourseComputed("wizardFields") @discourseComputed("wizardFields")
wizardFieldList(wizardFields) { wizardFieldList(wizardFields) {
return wizardFields.map((f) => ` w{${f.id}}`); return (wizardFields || []).map((f) => ` w{${f.id}}`);
}, },
@discourseComputed("wizardActions") @discourseComputed("wizardActions")