We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05125e8 commit 2bbe429Copy full SHA for 2bbe429
1 file changed
src/views/CVERecord/CVERecord.vue
@@ -149,6 +149,15 @@ export default {
149
$route(to) {
150
const cveId = to.query?.id;
151
if (cveId) {
152
+ if (to.hash && cveId === this.cveId) {
153
+
154
+ // The route contains an in-page anchor ("#...") with the currently
155
+ // displayed CVE ID. Simply return to allow the router to handle the
156
+ // scrolling to the anchor point.
157
158
+ return;
159
+ }
160
161
this.cveId = this.cveIdToUpperCase(cveId);
162
this.validateCveId();
163
if (!this.disabled) {
0 commit comments