From 3f116875a123c4bfc48e55cbed2bfab0327f99ad Mon Sep 17 00:00:00 2001 From: Stefan Zermatten Date: Tue, 12 Jan 2021 10:35:37 +0200 Subject: [PATCH] Children of slots now display in the correct order --- app/imports/ui/creature/slots/Slots.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/imports/ui/creature/slots/Slots.vue b/app/imports/ui/creature/slots/Slots.vue index e89d59a0..1a5343c9 100644 --- a/app/imports/ui/creature/slots/Slots.vue +++ b/app/imports/ui/creature/slots/Slots.vue @@ -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