diff options
author | Andrés Manelli <andresmanelli@gmail.com> | 2018-04-15 23:26:46 -0300 |
---|---|---|
committer | Andrés Manelli <andresmanelli@gmail.com> | 2018-04-16 00:19:03 -0300 |
commit | 31584e849c2b1eeffc8be37a6da8902bb251ff52 (patch) | |
tree | 4ff762f89bd3ea2ffc834725824175ccf8292f03 /client/components/lists | |
parent | b7358179012d1f34ff8204de2c7d91983550417d (diff) | |
download | wekan-31584e849c2b1eeffc8be37a6da8902bb251ff52.tar.gz wekan-31584e849c2b1eeffc8be37a6da8902bb251ff52.tar.bz2 wekan-31584e849c2b1eeffc8be37a6da8902bb251ff52.zip |
Fix #1570, now zero means hide cards count
Diffstat (limited to 'client/components/lists')
-rw-r--r-- | client/components/lists/listHeader.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/components/lists/listHeader.js b/client/components/lists/listHeader.js index cf26aa93..4b6bf196 100644 --- a/client/components/lists/listHeader.js +++ b/client/components/lists/listHeader.js @@ -28,7 +28,8 @@ BlazeComponent.extendComponent({ }, showCardsCountForList(count) { - return count > this.limitToShowCardsCount(); + const limit = this.limitToShowCardsCount(); + return limit > 0 && count > limit; }, events() { |