瀏覽代碼

Fix bug in displaying results count

John R. Supplee 4 年之前
父節點
當前提交
423480903f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      client/components/main/globalSearch.jade

+ 2 - 2
client/components/main/globalSearch.jade

@@ -17,9 +17,9 @@ template(name="globalSearch")
     else if hasResults.get
     else if hasResults.get
       .global-search-dueat-list-wrapper
       .global-search-dueat-list-wrapper
         h1
         h1
-          if $eq resultCount.get 0
+          if $eq resultsCount.get 0
             | {{_ 'no-results' }}
             | {{_ 'no-results' }}
-          else if $eq resultCount.get 1
+          else if $eq resultsCount.get 1
             | {{_ 'one-result' }}
             | {{_ 'one-result' }}
           else
           else
             | {{_ 'n-results' resultsCount.get }}
             | {{_ 'n-results' resultsCount.get }}