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:
commit
f070c9f5d6
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue