Skip to content

Commit

Permalink
Merge pull request #3154 from CVEProject/dr_attempted_fix
Browse files Browse the repository at this point in the history
being more explicit about calling the right value
  • Loading branch information
athu-tran authored Oct 11, 2024
2 parents d13467b + a572171 commit 75caabe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/CVERecord/CVERecord.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ import PublishedRecord from './PublishedRecord.vue';
import RejectedRecordOrId from './RejectedRecordOrId.vue';
import ReservedId from './ReservedId.vue';
import { usecveRecordStore } from '@/stores/cveRecord.ts';
import { useGenericGlobalsStore } from '@/stores/genericGlobals';
import ServiceUnavailable from '@/components/ServiceUnavailable.vue';
import axios from 'axios';
Expand Down Expand Up @@ -264,7 +265,7 @@ export default {
}
},
async getRecordData() {
const getRecordUrl = `${this.GenericGlobalsStore.currentServicesUrl}/api/cve/${usecveRecordStore().cveId}`;
const getRecordUrl = `${useGenericGlobalsStore().currentServicesUrl}/api/cve/${usecveRecordStore().cveId}`;
if (this.GenericGlobalsStore.useSearch) {
this.isResultFromProd = true;
} else {
Expand Down

0 comments on commit 75caabe

Please sign in to comment.