Fixed spell lists and class levels not computing inline calculations

This commit is contained in:
Stefan Zermatten
2022-02-23 17:01:12 +02:00
parent 5383804af7
commit 69f9636688
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ const ClassLevelSchema = createPropertySchema({
}, },
}); });
const ComputedOnlyClassLevelSchema = new SimpleSchema({ const ComputedOnlyClassLevelSchema = createPropertySchema({
description: { description: {
type: 'computedOnlyInlineCalculationField', type: 'computedOnlyInlineCalculationField',
optional: true, optional: true,

View File

@@ -29,7 +29,7 @@ let SpellListSchema = createPropertySchema({
}, },
}); });
const ComputedOnlySpellListSchema = new SimpleSchema({ const ComputedOnlySpellListSchema = createPropertySchema({
description: { description: {
type: 'computedOnlyInlineCalculationField', type: 'computedOnlyInlineCalculationField',
optional: true, optional: true,