Merge pull request #2676 from Bnyro/fix-search-enter

fix: enter in search bar doesn't work
This commit is contained in:
Bnyro 2023-07-17 10:45:05 +02:00 committed by GitHub
commit c6eec84438
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -175,7 +175,7 @@ export default {
}, },
onKeyPress(e) { onKeyPress(e) {
if (e.key === "Enter") { if (e.key === "Enter") {
this.submitSearch(); this.submitSearch(e);
} }
}, },
onInputFocus() { onInputFocus() {