Children of slots now display in the correct order

This commit is contained in:
Stefan Zermatten
2021-01-12 10:35:37 +02:00
parent ae5b4b7d5c
commit 3f116875a1

View File

@@ -134,6 +134,8 @@ export default {
slot.children = CreatureProperties.find({
'parent.id': slot._id,
removed: {$ne: true},
}, {
sort: { order: 1 },
}).fetch();
return slot;
}).filter(slot => !( // Hide full and ignored slots