From bd3f71b030a7f24f95c2eb52b8744cb5a685eef2 Mon Sep 17 00:00:00 2001 From: Tusooa Zhu Date: Fri, 15 Jul 2022 20:26:05 -0400 Subject: [PATCH] Make search say No more results when there are current results --- src/components/search/search.vue | 2 +- src/i18n/en.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/search/search.vue b/src/components/search/search.vue index 481694c0..571493cf 100644 --- a/src/components/search/search.vue +++ b/src/components/search/search.vue @@ -91,7 +91,7 @@ class="search-result-heading" >

- {{ $t('search.no_results') }} + {{ visibleStatuses.length === 0 ? $t('search.no_results') : $t('search.no_more_results') }}

diff --git a/src/i18n/en.json b/src/i18n/en.json index 7b47616a..10b233d4 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -449,6 +449,7 @@ "people": "People", "people_talking": "{count} people talking", "person_talking": "{count} person talking", + "no_more_results": "No more results", "load_more": "Load more results" }, "selectable_list": {