Skip to content

#3258 dynamically updates tab title to reflect searched cve record#3282

Merged
alinh-mitre merged 3 commits intoint-mainfrom
jd-3258-browserTab
Dec 2, 2024
Merged

#3258 dynamically updates tab title to reflect searched cve record#3282
alinh-mitre merged 3 commits intoint-mainfrom
jd-3258-browserTab

Conversation

@jdaigneau5
Copy link
Copy Markdown
Contributor

Summary

When viewing a record, the browser tab title will now update to include the CVE-ID being viewed.

Screenshot 2024-11-25 at 3 55 19 PM

Important Changes

src/components/cveRecordLookupModule.vue

  • Passed CVE-ID in router.query object

src/router/index.js

  • Added logic in beforeEach navigation guard to update the title for the CVERecord route

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Change the browser tab/window title of each CVE Record page to this format: "CVE-XXXX-YYYYY | cve.org"

2 participants