2
0
Эх сурвалжийг харах

Merge branch 'infinite-scrolling' of https://github.com/bentiss/wekan into bentiss-infinite-scrolling

Lauri Ojansivu 6 жил өмнө
parent
commit
4fc96904d6

+ 1 - 1
client/components/lists/listBody.js

@@ -92,7 +92,7 @@ BlazeComponent.extendComponent({
       // we need to increment the displayed card count to prevent the spinner
       // we need to increment the displayed card count to prevent the spinner
       // to appear
       // to appear
       const cardCount = this.data().cards(this.idOrNull(swimlaneId)).count();
       const cardCount = this.data().cards(this.idOrNull(swimlaneId)).count();
-      if (pthis.cardlimit.get() < cardCount) {
+      if (this.cardlimit.get() < cardCount) {
         this.cardlimit.set(this.cardlimit.get() + InfiniteScrollIter);
         this.cardlimit.set(this.cardlimit.get() + InfiniteScrollIter);
       }
       }