Skip to content

Commit

Permalink
feat: по умолчанию показывать приоритетные сайты
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed Jan 21, 2019
1 parent 1130dfe commit 647b786
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,9 @@ export default {
const sitesJson = await this.$axios.$get(this.$store.state.sitesJsonUrl);
this.$store.commit("tests", sitesJson.tests);
this.$store.dispatch("sites", sitesJson.sites);
if(!this.$route.query["q"]){
this.$route.query["q"] = 'meta_client_priority<3';
}
this.$store.dispatch("q", this.$route.query["q"]);
this.fieldsInit();
Expand Down

0 comments on commit 647b786

Please sign in to comment.