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

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

helioguardabaxo 3 жил өмнө
parent
commit
b56ea161cd

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

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