Browse Source

When list has just one card, to show 'card' instead of 'cards'

helioguardabaxo 3 years ago
parent
commit
b56ea161cd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/components/lists/listHeader.jade

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

@@ -20,7 +20,7 @@ template(name="listHeader")
 
 
         if showCardsCountForList cards.count
         if showCardsCountForList cards.count
           | 
           | 
-          span(class="cardCount") {{cardsCount}} {{_ 'cards-count'}}
+          span(class="cardCount") {{cardsCount}} {{cardsCountForListIsOne cards.count}}
       if isMiniScreen
       if isMiniScreen
         if currentList
         if currentList
           if isWatching
           if isWatching