Populate search_query on mount.

Closes #703
This commit is contained in:
FireMasterK 2022-01-12 05:27:38 +00:00
parent 89ca5094a5
commit 983fdac95d
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD

View File

@ -80,6 +80,9 @@ export default {
suggestionsVisible: false,
};
},
mounted() {
this.onSearchTextChange(new URLSearchParams(window.location.search).get("search_query"));
},
computed: {
shouldShowLogin(_this) {
return _this.getAuthToken() == null;