diff --git a/app/imports/api/creature/denormalise/recomputeSlotFullness.js b/app/imports/api/creature/denormalise/recomputeSlotFullness.js
index 3da2320b..bc7a073f 100644
--- a/app/imports/api/creature/denormalise/recomputeSlotFullness.js
+++ b/app/imports/api/creature/denormalise/recomputeSlotFullness.js
@@ -9,10 +9,14 @@ export default function recomputeSlotFullness(ancestorId){
'parent.id': slot._id,
removed: {$ne: true},
}, {
- fields: {slotQuantityFilled: 1}
+ fields: {
+ slotQuantityFilled: 1,
+ type: 1
+ }
}).fetch();
let totalFilled = 0;
children.forEach(child => {
+ console.log(child);
if (child.type === 'slotFiller'){
totalFilled += child.slotQuantityFilled;
} else {
diff --git a/app/imports/server/publications/slotFillers.js b/app/imports/server/publications/slotFillers.js
index 27b5b185..9f3293c2 100644
--- a/app/imports/server/publications/slotFillers.js
+++ b/app/imports/server/publications/slotFillers.js
@@ -33,6 +33,7 @@ Meteor.publish('slotFillers', function(slotId){
// Build a filter for nodes in those libraries that match the slot
let filter = {
'ancestors.id': {$in: libraryIds},
+ removed: {$ne: true},
};
if (slot.slotTags && slot.slotTags.length){
filter.tags = {$all: slot.slotTags};
diff --git a/app/imports/ui/creature/slots/SlotFillDialog.vue b/app/imports/ui/creature/slots/SlotFillDialog.vue
index 52c319ab..edfe5278 100644
--- a/app/imports/ui/creature/slots/SlotFillDialog.vue
+++ b/app/imports/ui/creature/slots/SlotFillDialog.vue
@@ -67,6 +67,9 @@
{{ tag }},
+
+ that fills less than {{ model.spaceLeft }} slots
+