Skip to content

Commit 9dba73f

Browse files
committed
searchResults: handle plural for "result(s)"
1 parent d03a63d commit 9dba73f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/views/CVERecord/SearchResults.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
<span class="has-text-weight-bold">
126126
{{ cveListSearchStore.totalSearchResultCount.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',') }}
127127
</span>
128-
<span> results for </span>
128+
<span> result{{ cveListSearchStore.totalSearchResultCount == 1 ? '' : 's' }} for </span>
129129
<span class="has-text-weight-bold">{{ cveListSearchStore.query }}</span>
130130
</p>
131131
</div>

0 commit comments

Comments
 (0)