Skip to content

Commit

Permalink
Merge pull request #3403 from CVEProject/tat-3394-cve-id
Browse files Browse the repository at this point in the history
#3394 showing 'Other Results' and help text only when there is a CVE ID or Record found
  • Loading branch information
athu-tran authored Jan 7, 2025
2 parents 279ebe8 + 2aea554 commit 8061c4a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/views/CVERecord/SearchResults.vue
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,12 @@
</div>
</div>
<div id="cve-search-results-container" v-if="cveListSearchStore.totalSearchResultCount > 0">
<h3 class="title is-size-5 mb-2">Other Results</h3>
<p class="cve-help-text">
Includes all record(s) that reference this CVE ID.
</p>
<div v-if="hasIdData || hasRecordData">
<h3 class="title is-size-5 mb-2">Other Results</h3>
<p class="cve-help-text">
Includes all record(s) that reference this CVE ID.
</p>
</div>
<div class="mt-4 mb-2">
<p>
<span>Showing </span>
Expand Down

0 comments on commit 8061c4a

Please sign in to comment.