浏览代码

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

helioguardabaxo 3 年之前
父节点
当前提交
b56ea161cd
共有 1 个文件被更改,包括 1 次插入1 次删除
  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
           | 
-          span(class="cardCount") {{cardsCount}} {{_ 'cards-count'}}
+          span(class="cardCount") {{cardsCount}} {{cardsCountForListIsOne cards.count}}
       if isMiniScreen
         if currentList
           if isWatching