aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTusooa Zhu <tusooa@kazv.moe>2022-07-15 20:26:05 -0400
committerTusooa Zhu <tusooa@kazv.moe>2022-07-15 20:26:05 -0400
commitb09912d2f91a410a3b50ee408dd4a0621eba2ff4 (patch)
treedc62f26c0d7e11266a08b2421329f4a2726449e3
parentb11ac221923af4df015c886850592ecf2330cc26 (diff)
Make search say No more results when there are current results
-rw-r--r--src/components/search/search.vue2
-rw-r--r--src/i18n/en.json1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/components/search/search.vue b/src/components/search/search.vue
index 4373a94b..6fc6a0de 100644
--- a/src/components/search/search.vue
+++ b/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>
diff --git a/src/i18n/en.json b/src/i18n/en.json
index 6026b33e..167a3e0f 100644
--- a/src/i18n/en.json
+++ b/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": {