Increaed number of slot fillers loaded by the slot fill dialog to 20

This commit is contained in:
Stefan Zermatten
2021-02-24 09:23:55 +02:00
parent dce2c92516
commit 3d3ec3bcf2
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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;