From 3d3ec3bcf20ed9084ec6ef7734e23f9b651c8876 Mon Sep 17 00:00:00 2001 From: Stefan Zermatten Date: Wed, 24 Feb 2021 09:23:55 +0200 Subject: [PATCH] Increaed number of slot fillers loaded by the slot fill dialog to 20 --- app/imports/server/publications/slotFillers.js | 2 +- app/imports/ui/creature/slots/SlotFillDialog.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/imports/server/publications/slotFillers.js b/app/imports/server/publications/slotFillers.js index 3fd2cd49..ca1d23b5 100644 --- a/app/imports/server/publications/slotFillers.js +++ b/app/imports/server/publications/slotFillers.js @@ -50,7 +50,7 @@ Meteor.publish('slotFillers', function(slotId){ } this.autorun(function(){ // Get the limit of the documents the user can fetch - var limit = self.data('limit') || 16; + var limit = self.data('limit') || 20; check(limit, Number); // Get the search term diff --git a/app/imports/ui/creature/slots/SlotFillDialog.vue b/app/imports/ui/creature/slots/SlotFillDialog.vue index 75177a29..70aaa429 100644 --- a/app/imports/ui/creature/slots/SlotFillDialog.vue +++ b/app/imports/ui/creature/slots/SlotFillDialog.vue @@ -196,7 +196,7 @@ export default { }, loadMore(){ if (this.currentLimit >= this.countAll) return; - this._subs['slotFillers'].setData('limit', this.currentLimit + 16); + this._subs['slotFillers'].setData('limit', this.currentLimit + 20); }, insert(){ if (!this.selectedNode) return;