2626 <p id =" alertIconCveRecordsRequestErrored" class =" is-hidden" >alert</p >
2727 <font-awesome-icon style =" flex : 0 0 40px ;" size =" 1x" icon =" triangle-exclamation" role =" img"
2828 aria-labelledby =" alertIconCveRecordsRequestErrored" aria-hidden =" false" />
29- <p >You are accessing <span class =" has-text-weight-bold" >{{ usingProd }}</span > data from {{ resultUrl }}</p >
29+ <p >You are accessing <span class =" has-text-weight-bold" >
30+ {{ genericGlobalsStore.searchDbType }}</span >
31+ data from {{ genericGlobalsStore.currentServicesUrl }}
32+ </p >
3033 </div >
3134 </div >
3235 <PublishedRecord v-if =" usecveRecordStore.isPublished" />
5154 <p id =" alertIconCveRecordsRequestErrored" class =" is-hidden" >alert</p >
5255 <font-awesome-icon style =" flex : 0 0 40px ;" size =" 1x" icon =" triangle-exclamation" role =" img"
5356 aria-labelledby =" alertIconCveRecordsRequestErrored" aria-hidden =" false" />
54- <p >You are accessing <span class =" has-text-weight-bold" >{{ usingProd }}</span > data from {{ resultUrl }}</p >
57+ <p >You are accessing <span class =" has-text-weight-bold" >
58+ {{ genericGlobalsStore.searchDbType }}</span >
59+ data from {{ genericGlobalsStore.currentServicesUrl }}
60+ </p >
5561 </div >
5662 </div >
5763 <h1 class =" title is-3 is-4 mb-2" >{{usecveRecordStore.cveId}} not found.</h1 >
@@ -94,13 +100,6 @@ export default {
94100 },
95101 data () {
96102 return {
97- isResultFromProd: false ,
98- // There is a special case when the website deals with some cached data.
99- // This ensures that the correct value is shown, even though it is not
100- // pretty
101- resultUrl: this .GenericGlobalsStore .useSearch
102- ? this .GenericGlobalsStore .cveServicesBaseUrl
103- : this .GenericGlobalsStore .cveServiceTestBaseUrl ,
104103 usecveRecordStore: usecveRecordStore (),
105104 cveId: usecveRecordStore ().cveId ,
106105 cveServicesUrl: undefined ,
@@ -113,9 +112,6 @@ export default {
113112 };
114113 },
115114 computed: {
116- usingProd () {
117- return this .isResultFromProd ? ' Production' : ' Test'
118- },
119115 isSearching () {
120116 return usecveRecordStore ().isSearching ;
121117 },
0 commit comments