Fixed props not having a default array for embedded calculations

This commit is contained in:
Stefan Zermatten
2021-01-31 19:42:49 +02:00
parent aee899e181
commit a7898bfe4b
9 changed files with 13 additions and 2 deletions

View File

@@ -19,12 +19,14 @@ let ComputedOnlyFeatureSchema = new SimpleSchema({
summaryCalculations: {
type: Array,
defaultValue: [],
maxCount: 32,
},
'summaryCalculations.$': InlineComputationSchema,
descriptionCalculations: {
type: Array,
defaultValue: [],
maxCount: 32,
},
'descriptionCalculations.$': InlineComputationSchema,