File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -207,12 +207,12 @@ export default {
207207 hasSubmenu (menuObject ) {
208208
209209 return this .isPrimaryMenuItem (menuObject)
210- && menuObject . hasOwnProperty ( ' primarySubmenu' )
210+ && Object . prototype . hasOwnProperty . call (menuObject, ' primarySubmenu' )
211211 && menuObject .primarySubmenu ;
212212 },
213213 isPrimaryMenuItem (menuObject ) {
214214
215- return menuObject . hasOwnProperty ( ' primaryNavPath' );
215+ return Object . prototype . hasOwnProperty . call (menuObject, ' primaryNavPath' );
216216 },
217217 toggleTouchScreenMenuDropdown (menuOption ) {
218218 // This is only used for touch
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ const route = useRoute();
9191const router = useRouter ();
9292
9393const cveRecordRouteName = ' CVERecord' ;
94- const invalidSearchCharacters = ref (' (){}[]"\' `<>|\ ; !~^*+%' );
94+ const invalidSearchCharacters = ref (' (){}[]"\' `<>|;!~^*+%' );
9595const legacyOptionLabel = ' Find a Test CVE Record/ID (Legacy)' ;
9696const searchOptionLabel = ' Search CVE List (Production Data)' ;
9797
Original file line number Diff line number Diff line change @@ -336,10 +336,6 @@ function cveRecordRoute(cveId) {
336336 return recordRoute
337337}
338338
339- const websiteEnv = computed (() => {
340- return import .meta.env.VITE_WEBSITE_ENVIRONMENT;
341- });
342-
343339let getRecordOrIdLabel = computed (() => {
344340 if (cveListSearchStore? .isArecord ){
345341 return ' Record' ;
You can’t perform that action at this time.
0 commit comments