Improved spells tab to be more in line with the v1 implementation

This commit is contained in:
Stefan Zermatten
2020-06-29 14:52:47 +02:00
parent 6ddea8a8ab
commit 56f9e82326
8 changed files with 86 additions and 71 deletions

View File

@@ -4,7 +4,7 @@ import CreatureProperties from '/imports/api/creature/CreatureProperties.js';
export default function getActiveProperties({
ancestorId,
filter = {},
options,
options = {sort: {order: 1}},
includeUntoggled = false,
excludeAncestors,
}){

View File

@@ -38,16 +38,6 @@ let SpellSchema = new SimpleSchema({})
hasAttackRoll: {
type: Boolean,
optional: true,
},
// Spell list that this spell appears on
spellLists: {
type: Array,
defaultValue: [],
},
'spellLists.$': {
type: String,
regEx: VARIABLE_NAME_REGEX,
min: 2,
},
description: {
type: String,