beginning to implement categories
This commit is contained in:
parent
6853e83a7f
commit
0e9f69c178
@ -207,6 +207,33 @@ export default {
|
||||
vm.pageLoading = true
|
||||
}
|
||||
|
||||
if (vm.$route.name === 'CATEGORIES') {
|
||||
vm.tableData = [
|
||||
{
|
||||
name: 'Countries',
|
||||
type: 'folder',
|
||||
path: '#/categories/countries',
|
||||
},
|
||||
{
|
||||
name: 'States',
|
||||
type: 'folder',
|
||||
path: '#/categories/states',
|
||||
},
|
||||
{
|
||||
name: 'Languages',
|
||||
type: 'folder',
|
||||
path: '#/categories/languages',
|
||||
},
|
||||
{
|
||||
name: 'Tags',
|
||||
type: 'folder',
|
||||
path: '#/categories/tags',
|
||||
},
|
||||
]
|
||||
vm.pageLoading = false
|
||||
return true
|
||||
}
|
||||
|
||||
// Skip loading more stations on certain sites
|
||||
if (vm.offset > 0
|
||||
&& (vm.$route.name === 'FAVORITES'
|
||||
@ -214,8 +241,6 @@ export default {
|
||||
return true
|
||||
}
|
||||
|
||||
console.log(vm.$route.name)
|
||||
|
||||
if (menuState === 'TOP') {
|
||||
sortBy = 'clickcount'
|
||||
} else if (menuState === 'NEW') {
|
||||
|
Loading…
Reference in New Issue
Block a user