Skip to content

Commit 5a190bc

Browse files
committed
Home: get "published" record count ONLY (does not include "rejected" count)
1 parent ff5177e commit 5a190bc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/views/Home.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ export default {
7474
},
7575
methods: {
7676
getCVERecordsCount() {
77-
const countUrl = `${this.GenericGlobalsStore.currentServicesUrl}/api/cve_count`;
77+
const countUrl = this.GenericGlobalsStore.currentServicesUrl
78+
+ '/api/cve_count?state=published';
7879
7980
axios
8081
.get(countUrl)

0 commit comments

Comments
 (0)