Browse Source

Make search say No more results when there are current results

Tusooa Zhu 2 năm trước cách đây
mục cha
commit
b09912d2f9
2 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 1 1
      src/components/search/search.vue
  2. 1 0
      src/i18n/en.json

+ 1 - 1
src/components/search/search.vue

@@ -89,7 +89,7 @@
           class="search-result-heading"
         >
           <h4>
-            {{ $t('search.no_results') }}
+            {{ visibleStatuses.length === 0 ? $t('search.no_results') : $t('search.no_more_results') }}
           </h4>
         </div>
       </div>

+ 1 - 0
src/i18n/en.json

@@ -828,6 +828,7 @@
     "person_talking": "{count} person talking",
     "people_talking": "{count} people talking",
     "no_results": "No results",
+    "no_more_results": "No more results",
     "load_more": "Load more results"
   },
   "password_reset": {