Skip to content

Commit 9a64fec

Browse files
authored
Merge pull request #3429 from CVEProject/rl-3389-search-result-plural
Resolves #3389 - Handle Plural of "results" in Summary
2 parents 54c0f2a + 9dba73f commit 9a64fec

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)