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

@@ -36,6 +36,7 @@ let ContainerSchema = new SimpleSchema({
const ComputedOnlyContainerSchema = new SimpleSchema({
descriptionCalculations: {
type: Array,
defaultValue: [],
maxCount: 32,
},
'descriptionCalculations.$': InlineComputationSchema,