Added slotFillerCondition field to class levels, same as in slot filler

This commit is contained in:
Stefan Zermatten
2022-03-03 16:19:54 +02:00
parent 43e956eb6a
commit 92a588bfcc
5 changed files with 25 additions and 6 deletions

View File

@@ -26,6 +26,12 @@ const ClassLevelSchema = createPropertySchema({
defaultValue: 1,
max: STORAGE_LIMITS.levelMax,
},
// Filters out of UI if condition isn't met, but isn't otherwise enforced
slotFillerCondition: {
type: String,
optional: true,
max: STORAGE_LIMITS.calculation,
},
});
const ComputedOnlyClassLevelSchema = createPropertySchema({