0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-22 19:25:16 +00:00

Merge pull request #117 from DanWlker/search-box-empty-entry-fix

Fix for issue #100
This commit is contained in:
Kenny 2022-03-19 14:19:15 -04:00 committed by GitHub
commit f070c9f5d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -179,6 +179,10 @@ export default {
searchBtn() {
const query = this.text;
if(query === "") {
return;
}
if (this.search === true) {
this.$router.push(`/search?q=${query}`);
this.search = false;