Explorar o código

Merge pull request #3572 from mfilser/master

Lists, show also 0 cards at column description
Lauri Ojansivu %!s(int64=4) %!d(string=hai) anos
pai
achega
5723c0c96f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      client/components/lists/listHeader.js

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

@@ -82,7 +82,7 @@ BlazeComponent.extendComponent({
 
 
   showCardsCountForList(count) {
   showCardsCountForList(count) {
     const limit = this.limitToShowCardsCount();
     const limit = this.limitToShowCardsCount();
-    return limit >= 0 && count > limit;
+    return limit >= 0 && count >= limit;
   },
   },
 
 
   events() {
   events() {