forked from didirus/AstralRinth
Test ads, fix search reload on non-relevance sort types
This commit is contained in:
@@ -69,6 +69,11 @@ export default {
|
||||
async: true,
|
||||
defer: true,
|
||||
},
|
||||
{
|
||||
src: 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js',
|
||||
'data-ad-client': 'ca-pub-4615302805870170',
|
||||
async: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
|
||||
@@ -308,7 +308,9 @@ export default {
|
||||
if (this.$route.query.v)
|
||||
this.selectedVersions = this.$route.query.v.split(',')
|
||||
if (this.$route.query.s) {
|
||||
this.sortType = this.$route.query.s
|
||||
this.sortType.name = this.$route.query.s
|
||||
this.sortType.display =
|
||||
this.sortType.name.charAt(0).toUpperCase() + this.sortType.name.slice(1)
|
||||
}
|
||||
if (this.$route.query.m) {
|
||||
this.maxResults = this.$route.query.m
|
||||
|
||||
Reference in New Issue
Block a user