diff --git a/app/imports/ui/creature/slots/SlotFillDialog.vue b/app/imports/ui/creature/slots/SlotFillDialog.vue
index 915d378a..29c98f91 100644
--- a/app/imports/ui/creature/slots/SlotFillDialog.vue
+++ b/app/imports/ui/creature/slots/SlotFillDialog.vue
@@ -63,16 +63,17 @@
-
-
- Load More
-
-
+
+
+
+ Requirements of {{ numFiltered }} library properties were not met.
+
+
+ Nothing suitable was found in your libraries.
+
+
+
+
+ Load More
+
+
+
@@ -167,6 +182,7 @@ export default {
data(){return {
selectedNode: undefined,
searchValue: undefined,
+ numFiltered: 0,
}},
computed: {
slotPropertyTypeName(){
@@ -216,7 +232,7 @@ export default {
return Creatures.findOne(this.creatureId);
},
currentLimit(){
- return this._subs['slotFillers'].data('limit') || 16;
+ return this._subs['slotFillers'].data('limit') || 20;
},
countAll(){
return this._subs['slotFillers'].data('countAll');
@@ -239,6 +255,7 @@ export default {
let nodes = LibraryNodes.find(filter, {
sort: {name: 1, order: 1}
}).fetch();
+ let totalNodes = nodes.length;
// Filter out slotFillers whose condition isn't met or are too big to fit
// the quantity to fill
nodes = nodes.filter(node => {
@@ -259,7 +276,7 @@ export default {
}
return true;
});
- // Filter out slotFillers whose
+ this.numFiltered = totalNodes - nodes.length;
if (nodes.length === 1) this.selectedNode = nodes[0];
return nodes;
},