Skip to content

Commit e30612c

Browse files
committed
cveRecordSearchModule: enable "Find" button in route watch for valid CVE ID
1 parent 56ac5cc commit e30612c

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/components/cveRecordSearchModule.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,11 @@ watch(
126126
queryString.value = route.query.query.trim();
127127
validate();
128128
}
129-
} else if (route.query.id)
129+
} else if (route.query.id) {
130130
cveId.value = route.query.id;
131-
}
132-
)
131+
cveListSearchStore.isSearchButtonDisabled = false;
132+
}
133+
});
133134
134135
function resetStates() {
135136
const isSearch = searchTypeBoolean.value;

0 commit comments

Comments
 (0)