Let effects autofill skills as well as attributes
This commit is contained in:
@@ -3,7 +3,7 @@ import createListOfProperties from '/imports/ui/properties/forms/shared/lists/cr
|
|||||||
const attributeListMixin = {
|
const attributeListMixin = {
|
||||||
meteor: {
|
meteor: {
|
||||||
attributeList(){
|
attributeList(){
|
||||||
return createListOfProperties({type: 'attribute'});
|
return createListOfProperties({type: {$in: ['attribute', 'skill']}});
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -15,7 +15,8 @@ export default function createListOfProperties(filter = {}){
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
CreatureProperties.find(filter).forEach(addUniquePropertys);
|
let options = {sort: {variableName: 1}}
|
||||||
LibraryNodes.find(filter).forEach(addUniquePropertys);
|
CreatureProperties.find(filter, options).forEach(addUniquePropertys);
|
||||||
|
LibraryNodes.find(filter, options).forEach(addUniquePropertys);
|
||||||
return Array.from(variableNames);
|
return Array.from(variableNames);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user