App Store category filter fixed.

This commit is contained in:
Cüneyt Şentürk
2019-11-20 17:45:19 +03:00
parent 771d73f0d1
commit e4422a22d7
6 changed files with 48 additions and 1 deletions

View File

@ -47,6 +47,18 @@ const app = new Vue({
},
methods: {
onChangeCategory(category) {
let path = document.getElementById('category_page').value;
if (category) {
path += '/' + encodeURIComponent(category);
} else {
path = app_home;
}
location = path;
},
onGetReviews (path, page) {
axios.post(url + '/apps/' + app_slug + '/reviews', {
patth: path,