Skip to content

Commit

Permalink
app change category issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cuneytsenturk committed Sep 7, 2020
1 parent 74ebff9 commit d2c0f54
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resources/assets/js/views/modules/apps.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ const app = new Vue({

methods: {
onChangeCategory(category) {
if (!category.length) {
return;
}

let path = document.getElementById('category_page').value;

if (category != '*') {
Expand Down
4 changes: 4 additions & 0 deletions resources/assets/js/views/modules/item.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ const app = new Vue({

methods: {
onChangeCategory(category) {
if (!category.length) {
return;
}

let path = document.getElementById('category_page').value;

if (category != '*') {
Expand Down

0 comments on commit d2c0f54

Please sign in to comment.